(输⼊ import this)
1 pip -V
2 pip --version
1 pip install requests
pip install robotframework==2.8.7
pip uninstall requests
1 pip install SomePackage
2 pip install SomePackage==1.0.5 # 指定版本
3 pip intstall 'SomePackage>=1.0.6' # 最小版本
1 pip list
1 pip show package
pip freeze > D:\桌面\install.txt
可以使⽤ pip install pillow-4.2xxxxxxx.whl 的⽅式离线进⾏安装
第⼀步 安装 wheel
第⼆步 找到下载的whl⽂件的⽬录进⾏安装(以桌⾯为例)
第三步 执⾏命令安装
换源安装
本文地址:https://blog.csdn.net/Lee_fish/article/details/107148937