在windows的python里面安装matplotlib
1. 在网站上下载正确版本的matplotlib
https://pypi.python.org/pypi/matplotlib/
Python3.7版本 ,电脑系统64位,故下载一下版本

2、下载后将文件复制至Python文件的的script目录下,注意这个目录里面有pip3.7

3、通过cmd打开命令提示符。
刚打开的命令提示符的路径是C:\Users\admin

4. 在目标路径后输入pip3.7 install matplotlib-3.1.2-cp37-cp37m-win_amd64.whl

5、打开Python IDLE,输入import matplotlib,没有错误提示就是装好了。

相关推荐
meylovezn 2020-09-15
wordmhg 2020-07-28
syThinkCool 2020-07-16
adamlovejw 2020-06-20
woxmh 2020-06-03
maybeyoucan 2020-05-17
jiahaohappy 2020-05-11
laohyx 2020-05-07
Tonybo 2020-04-27
liusarazhang 2020-04-10
tengyunjiawucom 2020-03-27
wangdaren 2020-03-27
Leonwey 2020-03-03
xinhao 2020-02-18
Jonderwu 2020-02-10
FrederickBala 2020-01-29
Laozizuiku 2020-01-13
Winterto0 2020-01-12