zl程序教程

您现在的位置是:首页 >  其它

当前栏目

为Anaconda添加新的源

添加 Anaconda
2023-09-11 14:15:28 时间

为Anaconda添加新的源

在cmd中输入以下内容即可, 清华的源,速度非常快

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes

更改pip源

windows下,直接在user目录中创建一个pip目录,如:C:\Users\xx\pip,新建文件pip.ini,内容如下

[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple