anaconda与pip 清华镜像源
生活随笔
收集整理的這篇文章主要介紹了
anaconda与pip 清华镜像源
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
pip 設置清華鏡像源:
?
方法1:設為默認鏡像源(推薦)
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
?
方法2:臨時使用
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 你的包名
?
總結
以上是生活随笔為你收集整理的anaconda与pip 清华镜像源的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: crontab 时间参数解释
- 下一篇: 远程执行本地查找文件的命令并返回结果