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

Python镜像选择问题 #5

Open
Guo-Zhang opened this issue May 28, 2023 · 0 comments
Open

Python镜像选择问题 #5

Guo-Zhang opened this issue May 28, 2023 · 0 comments

Comments

@Guo-Zhang
Copy link
Member

  1. 官方PyPI源可能被墙,因此需要使用国内镜像。
  2. PyPI接口异常可能导致同步镜像异常,导致新发的库(比如quanttide-data)找不到,因此需要把官方源作为备份。

因此建议:

pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip config set global.extra-index-url https://pypi.org/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