怎么为anaconda添加新的源

为anaconda添加新的源的方法:直接在cmd中执行【conda config –add channels 源地址】与【conda config –set show_channel_urls yes】命令即可。

图片[1]-怎么为anaconda添加新的源-uusu优素-乐高,模型,3d打印,编程

在cmd中输入以下内容即可添加清华的源:

(推荐教程:Python入门教程)

condaconfig--addchannelshttps://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
condaconfig--setshow_channel_urlsyes

更改pip源

[global]index-url=https://pypi.tuna.tsinghua.edu.cn/simple
原文来自:https://www.py.cn
© 版权声明
THE END
喜欢就支持一下吧
点赞13 分享