我正在尝试在具有附件的路由器(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