forked from vipstone/faceai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# pip/pip3更换国内源 # | ||
|
||
用途:pip更换为国内源,可以大大的提高安装成功率和速度。 | ||
|
||
|
||
# Windows更换pip/pip3源 # | ||
|
||
1. 打开目录:%appdata% | ||
1. 新增pip文件夹,新建pip.ini文件 | ||
1. 给pip.ini添加内容 | ||
``` | ||
[global] | ||
timeout = 6000 | ||
index-url = https://pypi.tuna.tsinghua.edu.cn/simple | ||
trusted-host = pypi.tuna.tsinghua.edu.cn | ||
``` | ||
|
||
这个更换的是清华的源,清华的源5分钟同步官网一次,建议使用。 | ||
|
||
注意:不管你用的是pip3还是pip,方法都是一样的,都是创建pip文件夹。 | ||
|
||
|
||
# 国内源列表 # | ||
|
||
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ | ||
|
||
阿里云 http://mirrors.aliyun.com/pypi/simple/ | ||
|
||
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ | ||
|
||
豆瓣(douban) http://pypi.douban.com/simple/ | ||
|
||
中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/ | ||
|