在 2020/12/18 上午2:32, Valmor F. de Almeida 写道: > > Hello, > Has anyone seen this search problem with pip for any package? > > ->  pip search twine > > ERROR: Exception: > Traceback (most recent call last): >   File > "/usr/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", > line 228, in _main >     status = self.run(options, args) >   File > "/usr/lib/python3.8/site-packages/pip/_internal/commands/search.py", > line 60, in run >     pypi_hits = self.search(query, options) >   File > "/usr/lib/python3.8/site-packages/pip/_internal/commands/search.py", > line 80, in search >     hits = pypi.search({'name': query, 'summary': query}, 'or') >   File "/usr/lib/python3.8/xmlrpc/client.py", line 1109, in __call__ >     return self.__send(self.__name, args) >   File "/usr/lib/python3.8/xmlrpc/client.py", line 1450, in __request >     response = self.__transport.request( >   File > "/usr/lib/python3.8/site-packages/pip/_internal/network/xmlrpc.py", > line 45, in request >     return self.parse_response(response.raw) >   File "/usr/lib/python3.8/xmlrpc/client.py", line 1341, in > parse_response >     return u.close() >   File "/usr/lib/python3.8/xmlrpc/client.py", line 655, in close >     raise Fault(**self._stack[0]) > xmlrpc.client.Fault: temporarily disabled due to unmanageable load and will be deprecated > in the near future. Please use the Simple or JSON API instead.'> > > Thanks, > -- > Valmor Just try it, and meet the same problem with python3.7 pip-20.2.4. Then update to 20.3.3, still the same problem. There are issues on github, https://github.com/pypa/pip/issues/9292 https://github.com/pypa/pip/issues/9312 someone said, *"* Seehttps://status.python.org/incidents/grk0k7sz6zkp for context. PyPI has had significant uptick in automated hits to the XMLRPC API, which has resulted in needing to take that offline, as it hampers the rest of the application's ability to function. " -- bobwxc