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 你的包名
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/230089.html原文链接:https://javaforall.net
