[issue42798] pip search fails

Paul Watson report at bugs.python.org
Thu Dec 31 14:20:11 EST 2020


New submission from Paul Watson <paul.hermeneutic at gmail.com>:

Fresh install of 3.9.1
Created venv
Activated venv

(py3.9) 13:12:59.52  C:\venv\py3.9\Scripts
C:>pip search astronomy
ERROR: Exception:
Traceback (most recent call last):
  File "c:\venv\py3.9\lib\site-packages\pip\_internal\cli\base_command.py", line 228, in _main
    status = self.run(options, args)
  File "c:\venv\py3.9\lib\site-packages\pip\_internal\commands\search.py", line 60, in run
    pypi_hits = self.search(query, options)
  File "c:\venv\py3.9\lib\site-packages\pip\_internal\commands\search.py", line 80, in search
    hits = pypi.search({'name': query, 'summary': query}, 'or')
  File "C:\Users\mike\AppData\Local\Programs\Python\Python39\lib\xmlrpc\client.py", line 1116, in __call__
    return self.__send(self.__name, args)
  File "C:\Users\mike\AppData\Local\Programs\Python\Python39\lib\xmlrpc\client.py", line 1456, in __request
    response = self.__transport.request(
  File "c:\venv\py3.9\lib\site-packages\pip\_internal\network\xmlrpc.py", line 45, in request
    return self.parse_response(response.raw)
  File "C:\Users\mike\AppData\Local\Programs\Python\Python39\lib\xmlrpc\client.py", line 1348, in parse_response
    return u.close()
  File "C:\Users\mike\AppData\Local\Programs\Python\Python39\lib\xmlrpc\client.py", line 662, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault -32500: "RuntimeError: PyPI's XMLRPC API has been temporarily disabled due to unmanageable load and will be deprecated in the near future. See https://status.python.org/ for more information.">

(py3.9) 13:13:08.09  C:\venv\py3.9\Scripts
C:>python --version
Python 3.9.1

----------
components: Demos and Tools
messages: 384133
nosy: Paul Watson
priority: normal
severity: normal
status: open
title: pip search fails
type: crash
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42798>
_______________________________________


More information about the Python-bugs-list mailing list