Using pip3 to install python modules


I’m trying to create some python3 virtual environments on a raspberry pi 4.

whenever I use “pip3 search” to look for a module, I get an exception back:

(test-venv) pi@raspberrypi:~/python $ sudo pip3 search novas
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/pip/_internal/cli/”, line 143, in main
status =, args)
File “/usr/lib/python3/dist-packages/pip/_internal/commands/”, line 48, in run
pypi_hits =, options)
File “/usr/lib/python3/dist-packages/pip/_internal/commands/”, line 65, in search
hits ={‘name’: query, ‘summary’: query}, ‘or’)
File “/usr/lib/python3.7/xmlrpc/”, line 1112, in call
return self.__send(self.__name, args)
File “/usr/lib/python3.7/xmlrpc/”, line 1452, in __request
File “/usr/lib/python3/dist-packages/pip/_internal/”, line 791, in request
return self.parse_response(response.raw)
File “/usr/lib/python3.7/xmlrpc/”, line 1342, in parse_response
return u.close()
File “/usr/lib/python3.7/xmlrpc/”, line 656, in close
raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -32500: ‘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.’>

The exception does not depend on the venv. (I get the same exception also outside the venv).

I’m working on Raspberry PI OS 10 (buster), python 3.7 pip 18.1

The error message says that pip3 has been disabled… (??) and say, however, that pip3 should work fine.

So I do not really know how to go on

Thank you very much for any help.

Use a web browser to search, then pip3 install <package name>

I did find the pip search command handy to find out whether a new package I’m creating has a name that already exists on PyPI. If the searching functionality on PyPI is just as good, then I’m happy to switch to that for this uncommon task.