Python 当我使用pip安装任何软件包时,WinError 10013

Python 当我使用pip安装任何软件包时,WinError 10013,python,pip,Python,Pip,我试图在Windows上的python内核上安装软件包,每次输入pip install pacakgename时,我都会遇到以下错误: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnect

我试图在Windows上的python内核上安装软件包,每次输入
pip install pacakgename
时,我都会遇到以下错误:

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000016FFD3F9748>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions',)': /simple/name/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000016FFD3F9550>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions',)': /simple/name/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000016FFD3F9588>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions',)': /simple/name/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000016FFD3F94A8>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions',)': /simple/name/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x0000016FFD3F9390>: Failed to establish a new connection: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions',)': /simple/name/
  Could not find a version that satisfies the requirement name (from versions: )
No matching distribution found for name
连接被“NewConnectionError(”:未能建立新连接:[WinError 10013]尝试以访问权限所禁止的方式访问套接字“,)”:/simple/name/ 连接被“NewConnectionError(”:未能建立新连接:[WinError 10013]尝试以访问权限所禁止的方式访问套接字“,)”:/simple/name/ 连接被“NewConnectionError(”:未能建立新连接:[WinError 10013]试图以访问权限所禁止的方式访问套接字“”,)”:/simple/name/ 连接被“NewConnectionError(”:未能建立新连接:[WinError 10013]尝试以访问权限所禁止的方式访问套接字“,)”:/simple/name/ “NewConnectionError(”:未能建立新连接:[WinError 10013]试图以访问权限所禁止的方式访问套接字。”,)”:/simple/name/ 找不到满足要求名称的版本(来自版本:) 找不到名称的匹配分发 即使是一个无效的名字,我也会遇到这个错误。我试过使用代理,但不起作用


谢谢

此问题与您的操作系统无关。这是因为你的安全软件。我有卡巴斯基的绝对安全感,这个问题发生在我身上
要解决此问题,请尝试禁用防病毒或仅从设置部分禁用应用程序防火墙
此外,您还可以通过设置菜单进行搜索来访问just pip
关于代理,您可以使用也可以不使用。它们在安装软件包时并不重要。 祝你好运

  • 禁用任何代理或VPN(如果正在使用)
  • 允许通过防火墙访问pip/python

  • 如果您使用任何第三方防火墙,如Simplewall,请确保python.exe获得访问internet的权限。我在卸载Simplewall后遇到了相同的问题,因为它启用了筛选器,所以我必须重新安装它,然后它才起作用。

    很抱歉,我在这一天遇到了这个问题。我改变了它。如果这个例子有意思的话:它不是。示例中的亵渎是您的issueOk的糟糕代表,我的示例非常糟糕,但您解决问题的方法是什么?为什么会发生这种情况?因为一些防病毒软件使用用户评级来阻止连接。而且
    pip
    的评分很低,我不知道为什么它的评分很低!但是试试看,我希望它能起作用