V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
mobong
V2EX  ›  Python

阿里云 pip 问题求教

  •  
  •   mobong · Apr 8, 2019 · 2766 views
    This topic created in 2577 days ago, the information mentioned may be changed or developed.

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

    4 replies    2019-04-08 15:15:59 +08:00
    mobong
        1
    mobong  
    OP
       Apr 8, 2019
    [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
        2
    xiaoheijw  
       Apr 8, 2019
    8.8.8.8 在国内用不了的,你能 ping 通 aliyun 吗?
    mobong
        3
    mobong  
    OP
       Apr 8, 2019
    47jm9ozp
        4
    47jm9ozp  
       Apr 8, 2019
    Cannot connect to proxy

    你设了什么代理

    卸了重装有什么用,都不看错误提示的吗……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4958 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 09:51 · PVG 17:51 · LAX 02:51 · JFK 05:51
    ♥ Do have faith in what you're doing.