使用pip安装numpy/matplotlib模块

使用pip安装numpy/matplotlib模块

一、找到pip所在位置

一般在python安装目录下的scipt中:…\Python37_64\Scripts,使用pip安装numpy/matplotlib模块
找python安装目录:
python2,在命令提示符中输入
import sys
print sys.path
python3,在命令提示符中输入
import sys
print (sys.path)

二、使用pip安装

将pip3/pip3.7拖入命令提示符中,输入空格,最后输入install ***,星号为想要安装的模块名,如:install matplotlib,等到安装完成。

使用pip安装numpy/matplotlib模块