python中安装matplotlib出现问题,我是个菜鸟,求大神带我飞 60

在里面输入pipinstallmatplotlib后代码如下:(C:\ProgramData\Anaconda3\envs\tensorflow)C:\Users\Adm... 在里面输入pip install matplotlib后代码如下:
(C:\ProgramData\Anaconda3\envs\tensorflow) C:\Users\Administrator\PycharmProjects\untitled>pip install matplotlib
Collecting matplotlib
Downloading matplotlib-2.2.0-cp35-cp35m-win_amd64.whl (8.7MB)
4% |█▍ | 368kB 484kB/s eta 0:00:18Exception:
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\commands\install.py", line 335, in run
wb.build(autobuilding=True)
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\req\req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\req\req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\download.py", line 821, in unpack_url
hashes=hashes
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\download.py", line 659, in unpack_http_url
hashes)
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\download.py", line 882, in _download_http_url
_download_url(resp, link, content_file, hashes)
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\download.py", line 603, in _download_url
hashes.check_against_chunks(downloaded_chunks)
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\utils\hashes.py", line 46, in check_against_chunks
for chunk in chunks:
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\download.py", line 571, in written_chunks
for chunk in chunks:
。。。。。(提问过长,隐藏一部分)
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\_vendor\colorama\ansitowin32.py", line 169, in write_and_convert
self.write_plain_text(text, cursor, len(text))
File "C:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pip\_vendor\colorama\ansitowin32.py", line 175, in write_plain_text
self.wrapped.flush()
OSError: raw write() returned invalid length 134 (should have been between 0 and 69)
展开
 我来答
匿名用户
2018-03-20
展开全部
你已经装了Anaconda3,里面本来就包含matplotlib,不用再额外装了
一姐韩梅
2018-03-16 · TA获得超过895个赞
知道小有建树答主
回答量:764
采纳率:58%
帮助的人:224万
展开全部
Anaconda自带matplotlib,为什么安装。
追问
Anaconda是啥?我用的python,师兄介绍我用的,我不上学IT的,不太懂这些软件
追答

Anaconda是啥这种问题自己去百度一下就知道了。简单的说,Anaconda是一个包含了python开发环境,以及大量的非常常用的包,比如matplotlib,而且都是最新的。偏向于科学计算方面。如果不想浪费时间去安装各种包,就装Anaconda。安装后打开下面的spyder就可以用。大概长这个样子:

已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式