1、找到你安装python的路径Scripts文件夹
你会看到有pip.exe文件
2、启动cmd,转到scripts文件夹下,然后 pip install+你要安装的包的名字即可。
cd C:\Users\john\AppData\Local\Programs\Python\Python37\Scripts
pip install numpy
- cd C:\Users\john\AppData\Local\Programs\Python\Python35\Scripts
-
pip install numpy
-
pip install scipy
附上一个链接。https://blog.csdn.net/qq_28093585/article/details/78473382