Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第22课更换默认下载源的指令错误 #41

Open
RickTaoYu opened this issue Sep 4, 2022 · 0 comments
Open

第22课更换默认下载源的指令错误 #41

RickTaoYu opened this issue Sep 4, 2022 · 0 comments

Comments

@RickTaoYu
Copy link

RickTaoYu commented Sep 4, 2022

在默认情况下,pip会访问https://pypi.org/simple/来获得三方库相关的数据,但是国内访问这个网站的速度并不是十分理想,因此国内用户可以使用豆瓣网提供的镜像来替代这个默认的下载源,操作如下所示。
pip install ujson
应为
pip install ujson -i http://pypi.douban.com/simple/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant