一、Python第三方库的网站
解决pip install package 失败问题--->更改镜像源
二、普通Python环境
1、win+R,输入cmd
2、输入,更换阿狸镜像源
pip config set global.index-url http://mirrors.aliyun.com/pypi/simple/
pip config set install.trusted-host mirrors.aliyun.com
查看当前镜像源
pip install pip
二、conda环境
更换成清华像源
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/ana
conda/pkgs/mainconda config --set show_ channel urls yes