有时候下载比较慢,就需要使用国内链接了

清华: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

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注