Python中文
首页
教程
问答
标签
搜索
登录
注册
我无法使用“Pip install matplotlib”命令安装matplotlib
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<div> </div> <p>我使用的是Python3.5.0,其中用于安装“Matplotlib”的“pip intall python”命令不起作用。以下是我得到的错误:</p> <pre><code>C:\>pip install matplotlib Traceback (most recent call last): File "c:\program files\python 3.5\lib\runpy.py", line 170, in _run_module_as_main "__main__", mod_spec) File "c:\program files\python 3.5\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Program Files\Python 3.5\Scripts\pip.exe\__main__.py", line 5, in <module> File "c:\program files\python 3.5\lib\site-packages\pip\_internal\cli\main.py", line 57 sys.stderr.write(f"ERROR: {exc}") ^ SyntaxError: invalid syntax </code></pre>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>我认为您需要首先使用cmd中的以下命令作为admin升级pip:</p> <blockquote> <p>python -m pip install --upgrade pip then try this command: pip install matplotlib</p> </blockquote>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
想用靓汤抢夺价值
8 回答
想申请一份符合工作描述的简历吗
6 回答
想画网格,Python
8 回答
想白痴化我的Python战舰
6 回答
想看两列日期,但只上
7 回答
想看看我写的这个脚本读一个Fortran二进制fi吗
6 回答
想知道Django是如何实现ORM查询优化的吗
6 回答
想知道GeoDjango和地图服务吗
7 回答
想知道Image.resize操作在PIL文件中的详细工作方式吗
2 回答
想知道matplotlib pyplot为什么不调整边距
1 回答
想知道matplotlib颜色的颜色代码吗
4 回答
想知道pd.factorize,pd.get_dummies,sklearn.preprocessing.labeencoder和OneHotEncod之间的区别
1 回答
想知道property()在python中的实际用法吗
2 回答
想知道pyodidejs是如何工作的吗?
6 回答
想知道pyparsing==2.0.1的已完成处理依赖关系
4 回答
想知道ScikitLearn中的编码算法吗
10 回答
想知道VTK 5.04和VTK 5.4.2的vtkMassProperties差异吗
4 回答
想知道一个特定字符在一个特定句子中出现的次数吗
8 回答
想知道两个不同子集的重叠中有多少个对象吗
5 回答
想知道为什么is_素数函数的结果不正确吗
5 回答