LoginSignup
5
2

More than 1 year has passed since last update.

pip search で ERROR: XMLRPC request failed [code: -32500] の解決法

Posted at

結論

$ pip3 install pip-search
$ pip_search mecab

インストールするパッケージ名は pip-search であるのに対し、コマンド名が pip_search であることに注意してください。

起きたエラー

pipで検索しようとしたら、エラーが発生しました。

$ pip3 search mecab
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.

インストールは問題なくできていました。

$ pip3 install numpy
Successfully installed numpy-1.22.4

なぜエラーが起きたのか

pip search コマンドが裏で叩いてる XMLRPC API が使えなくなってることが原因のようです。
こちらの記事でちょっと詳しく解説されているので、気になる方は読んでみてください。

参考

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2