python pip异常 #1112
Closed
playgithub
started this conversation in
General
python pip异常
#1112
Replies: 3 comments 6 replies
-
这不是 core 的问题。这是因为 Qv2ray 设置系统代理的格式是 '127.0.0.1:port',手动改成 'http://127.0.0.1:port' 形式的就没问题了。否则,Python 会把 https 协议转发到 'https://127.0.0.1:port',然而这是个 http 代理。 |
Beta Was this translation helpful? Give feedback.
4 replies
-
试试将
|
Beta Was this translation helpful? Give feedback.
0 replies
-
原来这样的,不行 [global]
timeout = 6000
index-url = https://mirrors.aliyun.com/pypi/simple/
trusted-host = mirrors.aliyun.com 刚改成下面这样,可以 [global]
timeout = 6000
index-url = https://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com 不知为什么? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Env
Qv2ray设置:
Problem
除了pip,网页或命令行都可以正常使用
测试命令:
python -m pip install --upgrade pip
如果不开qv2ray,一切正常
如果开qv2ray,报错如下 (没有设置HTTP_PROXY或HTTPS_PROXY)
Beta Was this translation helpful? Give feedback.
All reactions