1.添加镜像源,这里添加的是清华的镜像源
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
2.查看channels
conda config –show
3.删除channels
conda config –remove channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
4.临时使用清华源下载软件
pip install -i
https://pypi.tuna.tsinghua.edu.cn/simple
some-package
版权声明:本文为u014723479原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。