If you are searching for packages using Pip you may come accross this error. This is because after December 2020 pip search functionality has been discontinued, due to unmanageable load on PyPi’s XMLRPC API service.

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.

The alternate to this is installing the pip_search package using pip. Pip search is similar to pip search command, it does the same thing, but presents the search result better.

You can install it by entering the command below in a Terminal or Command Prompt window.

pip install pip_search

Once the package is installed you can execute it with pip_search and add the package name you are searching for, like the example below.

pip_search opencv

The command above should output similar result.

That’s it folks, happycoding.

Feel free to leave a comment below or ask any questions.

Darryl Dias

I’m Darryl. I’m a 3D Artist, Web Developer and Linux enthusiast. On this site I share my insights, tips and tricks, tutorials, methods and best practices.

Join the Conversation

2 Comments

  1. Perhaps you could help me with this. When I try pip_search it says that script is not on PATH. So I get “pip_search: command not found.” I’m unfamiliar with how to fix this. Could you please let me know?
    For a test I used above example “pip_search opencv”

Leave a comment

Leave a Reply to Darryl Dias Cancel reply

Your email address will not be published.