anaconda pip 安装速度慢,更换阿里云源

anaconda pip 安装速度慢,更换阿里云源

conda config --add channels https://mirrors.aliyun.com/anaconda/pkgs/main/
conda config --add channels https://mirrors.aliyun.com/anaconda/pkgs/free/
conda config --add channels https://mirrors.aliyun.com/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.aliyun.com/anaconda/cloud/menpo/
conda config --add channels https://mirrors.aliyun.com/anaconda/cloud/bioconda/
conda config --add channels https://mirrors.aliyun.com/anaconda/cloud/msys2/

# 验证是否成功设置阿里云镜像
conda config --set show_channel_urls yes

 

 

 

# 设置阿里云镜像
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
# 验证是否成功设置了阿里云的镜像
pip config list

 

 

 

############################

posted @ 2024-03-06 23:41  西北逍遥  阅读(1180)  评论(0编辑  收藏  举报