Phk
Phk

Reputation: 51

PIP search - HTTPError: 503 Server Error: Backend is unhealthy for url

I'm trying to install python-telegram-bot in my router (asuswrt) which has entware.

I'm getting "503 Server Error: Backend if unhealthy for URL"..

I tried on win10 but keep getting the same error.

$ pip search python
HTTP error 503 while getting https://pypi.org/pypi
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 143, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/site-packages/pip/_internal/commands/search.py", line 48, in run
    pypi_hits = self.search(query, options)
  File "/usr/lib/python2.7/site-packages/pip/_internal/commands/search.py", line 65, in search
    hits = pypi.search({'name': query, 'summary': query}, 'or')
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/site-packages/pip/_internal/download.py", line 789, in request
    response.raise_for_status()
  File "/usr/lib/python2.7/site-packages/pip/_vendor/requests/models.py", line 939, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
HTTPError: 503 Server Error: Backend is unhealthy for url: https://pypi.org/pypi

Upvotes: 5

Views: 1813

Answers (1)

Dustin Ingram
Dustin Ingram

Reputation: 21550

PyPI was down for scheduled maintenance.

In the future, you can check https://status.python.org/ when you have issues like this.

Upvotes: 3

Related Questions