首页 > 解决方案 > 如何修复 pip 安装程序代理错误 11001

问题描述

我最近从我的 PC 中清除了所有 python 文件并安装了 3.9.1,但无法 pip 安装任何东西。谷歌搜索此错误后,一致认为问题出在代理上。我正在使用我的家庭互联网并且没有代理。我检查了我的窗口“代理设置”,每个都被禁用了。我将不胜感激任何帮助解决这个问题。

pip install --user pandas

WARNING: 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.HTTPSConnection object at 0x000001EB96511730>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))': /simple/pandas/
WARNING: 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.HTTPSConnection object at 0x000001EB96511580>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))': /simple/pandas/
WARNING: 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.HTTPSConnection object at 0x000001EB96511610>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))': /simple/pandas/
WARNING: 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.HTTPSConnection object at 0x000001EB9652F130>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))': /simple/pandas/
WARNING: 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.HTTPSConnection object at 0x000001EB9652F2B0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))': /simple/pandas/
ERROR: Could not find a version that satisfies the requirement pandas (from versions: none)
ERROR: No matching distribution found for pandas

标签: pythonpython-3.xpandaspip

解决方案


推荐阅读