
centos 系统,原装 python2,卸了重装过,python3.6 3.7 都转了下,还是这个问题,也改了 resolveconfig,8.8.8.8
1 mobong OP [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 |
2 xiaoheijw Apr 8, 2019 8.8.8.8 在国内用不了的,你能 ping 通 aliyun 吗? |
3 mobong OP @xiaoheijw ping 的通 mirrors.aliyun.com |
4 47jm9ozp Apr 8, 2019 Cannot connect to proxy 你设了什么代理 卸了重装有什么用,都不看错误提示的吗…… |