python get-pip.py Downloading/unpacking pip Cannot fetch index-6ren">
gpt4 book ai didi

python - 安装 "python get-pip.py"时出错

转载 作者:太空狗 更新时间:2023-10-30 01:15:16 25 4
gpt4 key购买 nike

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

最佳答案

关闭任何重定向流量的代理/ fiddler /其他开发者工具。

为我工作。

关于python - 安装 "python get-pip.py"时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22968007/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com