1. 镜像源配置 +pip升级:
这个看博文:
https://blog.csdn.net/weixin_43155424/article/details/107008374
具体内容是:
# 设置使用清华镜像安装pip,之后用pip安装其他包时优先使用清华镜像
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# 更新pip
python -m pip install --upgrade pip
#上面要是对pip3的话把所有出现的pip换成pip3就好了
2. python3版本切换