pip 指定镜像源 指定版本 批量安装
生活随笔
收集整理的這篇文章主要介紹了
pip 指定镜像源 指定版本 批量安装
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
要用 pip 安裝指定版本的 Python 包,只需通過 == 操作符 指定
例如:pip install pycrypto==2.6.1
將安裝pycrypto2.6.1 版本。
要使用pip 批量安裝,需要寫requirements.txt文件,一行一個包
numpy matplotlib wxpypip install -r requirements.txt
要指定特殊的鏡像源
pip install requests -i https://pypi.tuna.tsinghua.edu.cn/simple/
常用源列表
總結
以上是生活随笔為你收集整理的pip 指定镜像源 指定版本 批量安装的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 服务器nasjava文件共享,办公室文件
- 下一篇: createdroptargets_使用