原创 pip search 无法使用,官方已永久禁用

pip search 无法使用,提示 PyPI's XMLRPC API is currently disabled due to unmanageable load and will be deprecated in the near future.

$ pip search prophet
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.
1
2
3

PyPI XMLRPC Search Disabledopen in new window 中已经说明结论。

pip search 使用到 XMLRPC Search 被永久禁用。

XMLRPC Search has been permanently disabled.
Posted 2 months ago. Jan 03, 2022 - 20:32 UTC
1
2

原因如下,有人请求 XMLRPC search 量太大,追查很久未果。

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.
Posted 1 year ago. Mar 24, 2021 - 14:22 UTC
1
2
3
4
5
6