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

pip 镜像设定 #20

Open
rainyear opened this issue Nov 25, 2015 · 1 comment
Open

pip 镜像设定 #20

rainyear opened this issue Nov 25, 2015 · 1 comment
Assignees
Labels

Comments

@rainyear
Copy link
Owner

pip 国内速度太慢,可以使用镜像:

cat ~/.pip/pip.ini

[global]
index-url = http://pypi.douban.com/simple

在虚拟环境下,好像不会应用这一设定,可以手动设定:

python3 -m venv venv3
source venv3/bin/active
pip install package -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
@rainyear rainyear self-assigned this Nov 25, 2015
@Stud1243
Copy link

Hi

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

No branches or pull requests

2 participants