有时候下载比较慢,就需要使用国内链接了
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:http://pypi.hustunique.com/
山东理工大学:http://pypi.sdutlinux.org/
豆瓣:http://pypi.douban.com/simple/
1、安装webbrower
pip3 install webbrower -i https://pypi.tuna.tsinghua.edu.cn/simple
2、升级pip
python.exe -m pip install --upgrade pip -i https://pypi.mirrors.ustc.edu.cn/simple/
3、报无pip :"No module named pip"错误
python -m ensurepip #之后就可以正常更新pip了
4、pip报错:Consider using the `--user` option or check the permissions
python.exe -m pip install --upgrade pip -i https://pypi.mirrors.ustc.edu.cn/simple/ --user
#只需要加上user权限 --user