栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

沉痛悼念 pip search 一路走好

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

沉痛悼念 pip search 一路走好

不知道最近大家有没有发现在使用 pip search 的时候,总是出现一个 XMLRPC 的报错。

$ pip search xlrd
ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI's XMLRPC API is currently 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 的问题:

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

而截止 2021-03-24 的最近更新,由于至今仍不明来源的、持续了100天的 XMLRPC 滥用,Python.org 的 XMLRPC 将永久停止响应。


✎ 


Update - We are now at 100 days since the decision to disable the XMLRPC search endpoint.


Traffic to the endpoint has not subsided in any substantial way and we have not heard from any of the parties who continue to issue hundreds of thousands of search calls per hour.


As such, XMLRPC search will be permanently disabled.


Mar 2414:22 UTC


这意味着 pip 的 search 功能将不再可用。现在,如果你输入 pip search,将会显示以下内容:

$ pip search xlrd
ERROR: XMLRPC request failed [code: -32500]
RuntimeError: PyPI's XMLRPC API is currently disabled due to unmanageable load and will be 
deprecated in the near future. See https://status.python.org/ for more information.
所以,要想搜索包,可能只能直接访问 PyPI ,或使用 pipsearch 这样的包,或者和我一样转向 conda search 吧。


Python 中常见的 TypeError 是什么?

2021-04-16

Python 列表、字典、元组的一些小技巧

2021-03-30

JupyterLab Server 搭建与使用笔记

2020-09-29

如何卸载 python setup.py install 安装的包?

2020-05-15

生物信息学 Python 入门之源码安装

2019-09-29


本文分享自微信公众号 - 生信科技爱好者(bioitee)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。

转载请注明:文章转载自 www.mshxw.com
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号