沉痛悼念 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 的问题:

而截止 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 24, 14: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 setup.py install 安装的包?


本文分享自微信公众号 - 生信科技爱好者(bioitee)。
如有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一起分享。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了