[英]Attribute error while installing pip command for python 2.7 windows 10
[英]Pip Install - error message when installing packages Python 2.7 Anaconda / Windows 10
直到最近,我仍然没有问题使用
pip install package_name
通过命令提示符。 但是,最近,我开始收到我尝试安装的99%软件包的以下错误消息(注意:如果该软件包已经安装,我会收到“要求已满足错误”)。
Retrying (Retry(total=0, connect=None, read=None, redirect=None))
after connection broken by 'ProxyError('Cannot connect to proxy.',
NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x00000000041D2A90>: Failed to establish a new connection:
[Errno 10061] No connection could be made because the target machine
actively refused it',))': /simple/pattern/
您对这里发生的事情有什么想法,以及如何解决它?
先感谢您!
已解决的问题-这是Windows中的代理设置。 答案是,The_Vatts在此线程中提供的内容如下:
转到控制面板-> Internet选项->连接-> LAN设置->取消标记“使用代理服务器”选项。
从另一个线程来看,这可能不完全是某些人正在寻找的东西,但是这满足了我的需求。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.