FYR-记录如下。
C:\Users\la26519\Desktop>python get-pip.py
Downloading/unpacking pip
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pip
Cleaning up...
No distributions at all found for pip
Storing debug log for failure in C:\Users\la26519\pip\pip.log
请告知我任何解决方法,并协助您成功安装。
当查询pip.log时,我得到了以下内容
Downloading/unpacking pip Getting page pypi.python.org/simple/pip
Could not fetch URL pypi.python.org/simple/pip: connection error:
HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries
exceeded with url: /simple/pip/ (Caused by <class 'socket.gaierror'>:
[Errno 11004] getaddrinfo failed) Will skip URL
pypi.python.org/simple/pip when looking for download links for pip
答案 0 :(得分:4)
关闭任何重定向流量的代理/提琴/其他开发者工具。
为我工作。