1.使用阿里源
以安装plotly库为例:
pip install plotly -i https://mirrors.aliyun.com/pypi/simple
2.使用清华源
以安装django库为例
pip install django -i https://pypi.tuna.tsinghua.edu.cn/simple
3.使用中国科学技术大学源
以安装filestools为例
pip install filestools -i https://pypi.mirrors.ustc.edu.cn/simple/
如果想要修改镜像源的话,可以直接在命令行操作:
如果要恢复原镜像:
conda config --remove-key channels