阿里云 pip 问题求教

2019-04-08 14:25:36 +08:00
 mobong

centos 系统,原装 python2,卸了重装过,python3.6 3.7 都转了下,还是这个问题,也改了 resolveconfig,8.8.8.8

1782 次点击
所在节点    Python
4 条回复
mobong
2019-04-08 14:26:25 +08:00
[root@izuf60o0vnaqm1m7azx49yz ~]# pip3 install aiohttp
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting aiohttp
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0x7f18cb580898>: Failed to establish a new connection: [Errno -2] Name or service not known'))': http://mirrors.aliyun.com/pypi/simple/aiohttp/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0x7f18cb5803c8>: Failed to establish a new connection: [Errno -2] Name or service not known'))': http://mirrors.aliyun.com/pypi/simple/aiohttp/
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0x7f18cb596668>: Failed to establish a new connection: [Errno -2] Name or service not known'))': http://mirrors.aliyun.com/pypi/simple/aiohttp/
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0x7f18cb596710>: Failed to establish a new connection: [Errno -2] Name or service not known'))': http://mirrors.aliyun.com/pypi/simple/aiohttp/
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0x7f18cb5965f8>: Failed to establish a new connection: [Errno -2] Name or service not known'))': http://mirrors.aliyun.com/pypi/simple/aiohttp/
Could not find a version that satisfies the requirement aiohttp (from versions: )
No matching distribution found for aiohttp
xiaoheijw
2019-04-08 15:08:49 +08:00
8.8.8.8 在国内用不了的,你能 ping 通 aliyun 吗?
mobong
2019-04-08 15:13:54 +08:00
ooxxcc
2019-04-08 15:15:59 +08:00
Cannot connect to proxy

你设了什么代理

卸了重装有什么用,都不看错误提示的吗……

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/552954

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX