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

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

原文地址:https://blog.csdn.net/m0_67542181/article/details/130669077

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任

如若转载,请注明出处:http://www.7code.cn/show_23952.html

如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱suwngjj01@126.com进行投诉反馈,一经查实,立即删除

发表回复

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