1.pip下载与安装
a.下载
进入https://pypi.python.org/pypi/pip,点击左侧的Download files,点击下载右侧的whl文件。
b.安装
与所有的whl文件安装一致。即将whl文件后缀改为zip并解压,解压后有个文件夹为pip,然后将该文件夹拷贝至python安装目录下的lib文件夹即可。
2.通过pip安装模块和包
D:\Python\Python37-32\Scripts\pip.exe install 【模块名】
或设置环境变量,PATH中添加值D:\Python\Python37-32\Scripts,这样在dos中直接输入“pip install 模块名”就可以安装了。
https://blog.csdn.net/lyj_viviani/article/details/70568434/
https://jingyan.baidu.com/article/466506583fec5af549e5f825.html