anaconda創(chuàng)建新環(huán)境時(shí)慢:
鏡像網(wǎng)址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
命令
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
pip安裝慢
后面加
-i https://pypi.tuna.tsinghua.edu.cn/simple
或者設(shè)置全局鏡像源:
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/
超時(shí)怎么辦?
加 --default-timeout=100