Last active
July 2, 2025 03:58
-
-
Save wa008/f539d7403c4be6691b3ecbf73ae86b44 to your computer and use it in GitHub Desktop.
pip config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. check path of pip config | |
# command: python3 -m pip config debug | |
# output: /root/.config/pip/pip.conf | |
# 2. replace below code into your pip config | |
[global] | |
index-url = https://mirrors.aliyun.com/pypi/simple/ | |
extra-index-url= https://pypi.tuna.tsinghua.edu.cn/simple | |
https://mirrors.sustech.edu.cn/pypi/web/simple | |
[install] | |
trusted-host = repo.metax-tech.com | |
mirrors.aliyun.com | |
pypi.tuna.tsinghua.edu.cn | |
mirrors.sustech.edu.cn | |
download.pytorch.org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment