Fixing error while using pip search – RuntimeError This API has been temporarily disabled due to unmanageable load (pip search has stopped working)

Error while using pip search – RuntimeError This API has been temporarily disabled due to unmanageable load (pip search has stopped working) is an error which occurs because the maintainers of the pip search command throttle access to it.

In today’s article I am going to deal with a confusing error and explain why it takes place and how to fix it, with a set of possible solutions.

Exploring error while using pip search – RuntimeError This API has been temporarily disabled due to unmanageable load (pip search has stopped working)

This is an error which occurs because the maintainers of the pip search command throttle access to it.

Beware of mixing between errors. Double check if the error message looks like the error message bellow, then continue.

                                                                       #
'RuntimeError: This API has been temporarily disabled due to unmanageable load and will be deprecated 
in the near future. Please use the Simple or JSON API instead.'>     
                                                                       #         

Bellow I will present multiple solutions some have worked for me and others have worked for other devs.

Solution 1 : install pip-search instead

First, we should understand why the error is happening, you have the error because the maintainers of the pip search command say that the command is resource intensive and they limit its usage to cut down on costs.

The solution is to use pip-search instead , after installing it make sure to use the command like this pip_search and not like this pip-search.

                                                                       #
pip install pip-search
# after the install, when using the command please use the command pip_search 
                                                                       #

I hope this method has worked for you, try the method bellow if that is not true.

Solution 2 : use the same search database provided by pypi.org

Even if pip search is broken, there is a way to get the same experience, this solution was recommended by the team behind the project.

The fix is to navigate to the official URL : https://pypi.org

You can search the same database found in the page above in your browser .

Once you find a package there, pip install the chosen package like you always do.

                                                                       #
pip install < the chosen package >
                                                                       #

This should be enough to get rid of the error for good. Thank you for getting to the end of this post.

Summing-up : 

That is it guys, this is the end of this article aka guide, I hope you found it useful in solving your problem, make sure to support our work on Kofi, you do not have to but hey you can donate to the team.

Thank you for reading, keep coding and cheers. If you want to learn more about Python, please check out the Python Documentation : https://docs.python.org/3/