首页 > 编程知识 正文

pip清华镜像源,anaconda清华镜像源

时间:2023-05-05 08:24:42 阅读:203745 作者:4190

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 设置清华镜像源:
 

方法1:设为默认镜像源(推荐)
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
 

方法2:临时使用
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 你的包名
 

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。