python - 如何修复 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
解决方案
推荐阅读
- amazon-web-services - DynamoDB GSI 使用类似于哈希键的布尔值
- postgresql - 我如何在 typeorm 和 postgres 中使用经度和纬度
- reactjs - GraphQL 订阅引发跨源错误
- linux - 在匹配后搜索和替换字符串
- apache-kafka - 状态存储更改日志主题的消费者是什么
- javascript - 在 XMLHTTPrequest 的 onload 回调中访问上下文`this`,同时保留响应对象
- unity3d - Unity - 如何管理角色及其配件的显示
- javascript - 聚合物中的切换按钮问题
- flutter - Widget 和 CupertinoWidget:避免代码重复
- mongodb - 在 MongoDB 的字段名称中使用 snake_case 有什么缺点?