pip 安装不起作用 [英] pip install is not working

查看:55
本文介绍了pip 安装不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 pip install 安装 pygame.但每次我尝试时都会遇到这个错误.

I am trying to install pygame with pip install . but every time i tried i faced to this error.

重试(重试(总计=4,连接=无,读取=无,重定向=无))在连接被 'ProxyError('无法连接到代理.',NewConnectionError(': 建立新连接失败: [WinError10061] 无法建立连接,因为目标机器主动拒绝它',))':/simple/pygame-1-9-3-cp36-cp36m-win-amd64/重试(重试(总计=3,连接=无,读取=无,重定向=无))之后'ProxyError('无法连接到代理.',NewConnectionError(': 建立新连接失败: [WinError10061] 无法建立连接,因为目标机器主动拒绝它',))':/simple/pygame-1-9-3-cp36-cp36m-win-amd64/重试(重试(总计=2,连接=无,读取=无,重定向=无))之后'ProxyError('无法连接到代理.',NewConnectionError(': 建立新连接失败: [WinError10061] 无法建立连接,因为目标机器主动拒绝它',))':/simple/pygame-1-9-3-cp36-cp36m-win-amd64/操作被用户取消*

Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',))': /simple/pygame-1-9-3-cp36-cp36m-win-amd64/ Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',))': /simple/pygame-1-9-3-cp36-cp36m-win-amd64/ Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',))': /simple/pygame-1-9-3-cp36-cp36m-win-amd64/ Operation cancelled by user*

我已经用其他库完成了,但我遇到了同样的问题

I have done it with other libraries but I faced the same problem

推荐答案

我在 Windows 中遇到了同样的问题.我的防病毒软件阻止了 PIP 请求.尝试禁用您的防病毒软件(在我的情况下,从任务管理器手动杀死它).

I had the same issue in windows. My antivirus was blocking PIP requests. Try disabling your antivirus(in my case manually killed it from task manager).

这篇关于pip 安装不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆