对于conda配置:
conda config --add(remove) channels https://mirrors.ustc.edu.cn/anaconda/pkgs/free/
对于Windows下的pip配置,在用户目录下(C:Users用户名)新建pip文件夹并在该文件夹下新建pip.ini的文件,内容如下:
[global]
timeout = 300
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
trusted-host = pypi.tuna.tsinghua.edu.cn
最后
以上就是和谐猎豹最近收集整理的关于conda/pip 国内镜像源之清华源的全部内容,更多相关conda/pip内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复