Last active
January 16, 2018 09:48
-
-
Save crazcdll/7b82d93cb142d39350eb8ce9e56c0398 to your computer and use it in GitHub Desktop.
pip 换源
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
| vi ~/.pip/pip.conf | |
| [global] | |
| index-url = http://pypi.douban.com/simple | |
| trusted-host = pypi.douban.com | |
| [global] | |
| index-url = http://mirrors.aliyun.com/pypi/simple | |
| trusted-host = mirrors.aliyun.com | |
| // 阿里云的源貌似更新一些 | |
| // 这个设置的单个账户的,换了账户需要重新设置。 | |
| // 有可能没有 .pip 这个目录,可能需要先创建 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment