python安装 matplotlib

python安装matplotlib

1.设置路径

比如说我的python装在E盘,则进入计算机——系统属性——高级系统设置——环境变量——新建path:E:\Python36

2.打开cmd

在开始一栏输入cmd,然后切换到E盘

此时输入pip install 文件名  会出现pip不是内部或外部命令

接着输入 cd python26\scripts 此时切换到安装pip的文件夹

再输入 pip install "文件名”就可以安装了

python安装 matplotlib


python安装 matplotlib

成功