• 欢迎访问小奏爱吃麻婆豆腐,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧
  • 小奏的图站,传送门:http://pic.kanade.site

Windows下使用PIP命令失败

网站搭建 kanade 7个月前 (05-04) 354次浏览 0个评论

windows 下 python 使用 pip install pymysql命令导致

Collecting pymysql
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.VerifiedHTTPSConnection object at 0x00000181437FBE48>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。’,))’: /simple/pymysql/
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.VerifiedHTTPSConnection object at 0x00000181437FB780>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。’,))’: /simple/pymysql/
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.VerifiedHTTPSConnection object at 0x00000181437FBC18>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。’,))’: /simple/pymysql/
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.VerifiedHTTPSConnection object at 0x00000181437FBB70>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。’,))’: /simple/pymysql/
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.VerifiedHTTPSConnection object at 0x00000181437FB898>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。’,))’: /simple/pymysql/

 

解决办法:

关闭掉代理服务器。 Internet 属性-》连接-》局域网设置-》代理服务器,将为 LAN 使用代理服务器前的方括号中的对号去掉 ,不知道为啥,突然有个 1080 的代理,明明没开,搞半天。。


小奏爱吃麻婆豆腐 , 资源部分来自网络,如未标明来源,均为原创,如有侵权,请联系我删除!丨联系邮箱 k@pooi.cc
转载请注明原文链接:Windows 下使用 PIP 命令失败
喜欢 (0)
[598743549@qq.com]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址