PIP搜索-HTTPError:503服务器错误:后端的URL不健康

时间:2018-11-10 16:46:51

标签: pip pypi

我正在尝试在具有附件的路由器(asuswrt)中安装python-telegram-bot。

我收到“ 503服务器错误:如果URL不健康,则为后端”。

我尝试使用win10,但仍然收到相同的错误。

$ 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

1 个答案:

答案 0 :(得分:0)

PyPI已停止进行计划维护。

以后,当您遇到此类问题时,可以检查https://status.python.org/