文章目录

  • 20201215
  • 20201230更新
  • 20210113更新
  • 20210316更新
  • 20210326更新

20201215

近日用pip search搜索自己写的包时,遇到了这个报错

ERROR: Exception:
Traceback (most recent call last):File "/usr/local/lib/python3.6/dist-packages/pip/_internal/cli/base_command.py", line 224, in _mainstatus = self.run(options, args)File "/usr/local/lib/python3.6/dist-packages/pip/_internal/commands/search.py", line 62, in runpypi_hits = self.search(query, options)File "/usr/local/lib/python3.6/dist-packages/pip/_internal/commands/search.py", line 82, in searchhits = pypi.search({'name': query, 'summary': query}, 'or')File "/usr/lib/python3.6/xmlrpc/client.py", line 1112, in __call__return self.__send(self.__name, args)File "/usr/lib/python3.6/xmlrpc/client.py", line 1452, in __requestverbose=self.__verboseFile "/usr/local/lib/python3.6/dist-packages/pip/_internal/network/xmlrpc.py", line 46, in requestreturn self.parse_response(response.raw)File "/usr/lib/python3.6/xmlrpc/client.py", line 1342, in parse_responsereturn u.close()File "/usr/lib/python3.6/xmlrpc/client.py", line 656, in closeraise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -32500: "RuntimeError: PyPI's XMLRPC API has been temporarily disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.">

也不知道是具体哪个部分出了问题,先总结一下获取到的情况:

  • 不是所有用户都有这个问题, 有的用户表示他们并没有遇到这个问题;
  • 有的用户说他们换了源解决了问题;

报错信息最后提示参阅https://status.python.org/,打开之后发现是PyPI的问题:

Investigating - PyPI’s search backends are experiencing an outage causing the backends to timeout and fail, leading to degradation of service for the web app. Uploads and installs are currently unaffected but logged in actions and search via the web app and API access via XMLRPC are currently experiencing partial outages.
Dec 14, 09:41 UTC

Identified - We’ve identified that the issue is with excess volume to our XLMRPC search endpoint that powers pip search among other tools. We are working to try to identify patterns and prohibit abusive clients to retain service health.
Dec 14, 15:09 UTC

Update - Due to the overwhelming surges of inbound XMLRPC search requests (and growing) we will be temporarily disabling the XMLRPC search endpoint until further notice.
Dec 14, 17:30 UTC

简单翻译下就是PyPI的search功能的后端实现突然遭遇超大量的超时和失败,导致通过XMLRPC的登录动作和search api全线崩溃。跟踪之后发现有人走XMLRPC(并不能确定是“恶意”,但是一定是“滥用”)向search后端发了大的出奇的请求包导致后端崩溃,因此PyPI的search功能将被无限期封掉,直到更新。

Update - The XMLRPC Search endpoint is still disabled due to ongoing request volume. As of this update, there has been no reduction in inbound traffic to the endpoint from abusive IPs and we are unable to re-enable the endpoint, as it would immediately cause PyPI service to degrade again. We are working with the abuse contact at the owner of the IPs and trying to make contact with the maintainers of whatever tool is flooding us via other channels.
Dec 15, 20:59 UTC

最后一次更新直到12月15日,官方表示滥用XMLRPC的IP仍然在发包,而且他们仍在和发这些坏包的人进行联系,确认他们是否知道自己的发包部分写错了…

可以看出12月14号错误数达到峰值
响应的速度也非常慢,看来有段时间没法pip search了,转向conda或者直接pip install


和服务器交互 要以和为贵 要讲武德 在发请求的时候 按照传统功夫以点到为止 不要abuse 蟹蟹朋友们!

【已完结】【悲报】pip search 报错相关推荐

  1. 已安装Anaconda情况下,命令行pip,python报错(详细 已解决)

    已安装Anaconda情况下,命令行pip,python报错(已解决) 这是报错截图 解决方案如下: 1.首先可以去找到anaconda文件夹,并打开该文件目录下的Script文件夹,查看是否有pip ...

  2. 【已解决】Python安装TensorFlow报错“Consider adding this directory to PATH or, if you prefer to suppress this

    [已解决]Python安装TensorFlow报错"Consider adding this directory to PATH or, if you prefer to suppress ...

  3. pip list报错:DEPRECATION: The default format will switch to columns in the future.

    pip list报错:DEPRECATION: The default format will switch to columns in the future. sudo gedit ~/.pip/p ...

  4. pip安装报错:'ascii'码不能解码,安装路径有中文

    转载自:https://blog.csdn.net/u013948858/article/details/77800663 [python]pip安装报错UnicodeDecodeError: 'as ...

  5. python中升级pip报错_linux系统下pip升级报错的解决方法

    Pip 安装 1.在python中提供了一个get-pip.py;下面是地址 https://bootstrap.pypa.io/get-pip.py 2.在Linux下执行curl https:// ...

  6. pip install 报错UnicodeDecodeError: 'ascii' codec can't decode byte 0xb5 in

    当python在window环境中通过pip安装pandas报标题这样的错,主要是因为python默认编码格式是:ascii 在https://www.python.org/dev/peps/pep- ...

  7. Python——pip安装报错:is not a supported wheel on this platform

    pip安装报错:is not a supported wheel on this platform 可能的原因1:安装的不是对应python版本的库,下载的库名中cp35代表python3.5,其它同 ...

  8. python中使用pip安装报错:Fatal error in launcher... 解决方法

    python中使用pip安装报错:Fatal error in launcher... 解决方法 参考文章: (1)python中使用pip安装报错:Fatal error in launcher.. ...

  9. python pip升级报错

    python中提供了一个get-pip.py https://bootstrap.pypa.io/get-pip.py 在Linux下执行curl https://bootstrap.pypa.io/ ...

最新文章

  1. ROS中cv_bridge如何用python3进行编译
  2. 怎样做才是最优雅方式切换 web 项目数据源 ?
  3. 苏宁宣布二度涨薪!平均涨幅31%,最高涨幅高达150%!网友:羡慕哭了!苏宁员工:不是全员,跟社招无关!...
  4. C语言入门题-求阶乘序列前N项和
  5. SQL存储过程和函数
  6. 谷歌为开源的漏扫工具“海啸“发布新的补丁奖励计划
  7. Android 爱心万花筒简单实现
  8. [转载] Python杂记之 list.clear()方法,清空列表
  9. RIPv1配置(Enabling Rip)
  10. Dijkstra算法图解
  11. 小米线刷工具 MiFlash 提示长度不能小于 0 参数名 length,无法读取设备解决方法
  12. 以CIM平台推动数字孪生落地 以数字孪生助力智慧城市建设
  13. 智能陈桥输入法软件测试,智能陈桥五笔输入法
  14. 硬件接口之S/PDIF
  15. dataframe 中的多层索引
  16. 计算机硬件软件的英语,计算机软件和硬件,PC computer software and hardware,音标,读音,翻译,英文例句,英语词典...
  17. 正负图表,让数据展示更炫酷
  18. JeecgBoot 2.4.6 版本发布,基于代码生成器的企业级低代码平台
  19. CAN通信中终端电阻的作用
  20. c语言程序图片马赛克,震惊,被马赛克的图片竟然还可以恢复

热门文章

  1. 趣味python | 一步一步绘制小猪佩奇
  2. Python中__dict__用法
  3. 【Spring】mybatis-spring
  4. 【算法基础】离散化 AcWing 802. 区间和 (详细)
  5. Elasticsearch:使用向量搜索来搜索图片及文字
  6. 武汉计算机专业排名2015,2015武汉大学专业排名一览
  7. java开发经典文章
  8. 找到了腾讯云代金券两个领取入口(太值了)
  9. vue-cli+mock.js+axios模拟前后台数据交互
  10. xp安装java_在WindowsXP中,如何安装JAVA软件?