0

我正在尝试安装 kazoo:我尝试了以下选项:pip install kazoopip install "kazoo==2.6.1"

运行此命令后,我收到以下错误:

Downloading/unpacking kazoo
  Cannot fetch index base URL https://pypi.python.org/simple/
  Could not find any downloads that satisfy the requirement kazoo
Cleaning up...
  No distributions at all found for kazoo
  Storing debug log for failure in /root/.pip/pip.log

以下是 的内容/root/.pip/pip.log

/usr/bin/pip run on Wed Jul 14 09:15:11 2021
Downloading/unpacking kazoo==2.6.1
Getting page https://pypi.python.org/simple/kazoo/
Could not fetch URL https://pypi.python.org/simple/kazoo/: 403 Client Error: [[[!!! 
BREAKING CHANGE !!!]]] Support for clients that do not support Server Name Indication is temporarily disabled and will be permanently deprecated soon. See https://status.python.org/incidents/hzmjhqsdjqgb and https://github.com/pypa/pypi-support/issues/978 [[[!!! END BREAKING CHANGE !!!]]]
Will skip URL https://pypi.python.org/simple/kazoo/ when looking for download links for kazoo==2.6.1
Getting page https://pypi.python.org/simple/
Could not fetch URL https://pypi.python.org/simple/: 403 Client Error: [[[!!! BREAKING CHANGE !!!]]] Support for clients that do not support Server Name Indication is temporarily disabled and will be permanently deprecated soon. See https://status.python.org/incidents/hzmjhqsdjqgb and https://github.com/pypa/pypi-support/issues/978 [[[!!! END BREAKING CHANGE !!!]]]
Will skip URL https://pypi.python.org/simple/ when looking for download links for kazoo==2.6.1
Cannot fetch index base URL https://pypi.python.org/simple/
URLs to search for versions for kazoo==2.6.1:
* https://pypi.python.org/simple/kazoo/2.6.1
* https://pypi.python.org/simple/kazoo/
Getting page https://pypi.python.org/simple/kazoo/2.6.1
Could not fetch URL https://pypi.python.org/simple/kazoo/2.6.1: 403 Client Error: [[[!!! BREAKING CHANGE !!!]]] Support for clients that do not support Server Name Indication is temporarily disabled and will be permanently deprecated soon. See https://status.python.org/incidents/hzmjhqsdjqgb and https://github.com/pypa/pypi-support/issues/978 [[[!!! END BREAKING CHANGE !!!]]]
Will skip URL https://pypi.python.org/simple/kazoo/2.6.1 when looking for download links for kazoo==2.6.1
Getting page https://pypi.python.org/simple/kazoo/
Could not fetch URL https://pypi.python.org/simple/kazoo/: 403 Client Error: [[[!!! BREAKING CHANGE !!!]]] Support for clients that do not support Server Name Indication is temporarily disabled and will be permanently deprecated soon. See https://status.python.org/incidents/hzmjhqsdjqgb and https://github.com/pypa/pypi-support/issues/978 [[[!!! END BREAKING CHANGE !!!]]]
Will skip URL https://pypi.python.org/simple/kazoo/ when looking for download links for kazoo==2.6.1
Could not find any downloads that satisfy the requirement kazoo==2.6.1
Cleaning up...
Removing temporary dir /tmp/pip_build_root...
No distributions at all found for kazoo==2.6.1
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
"~/.pip/pip.log" 34L, 3388C

我读了几篇关于 SSL 的文章,但在这里我已经在使用 HTTPS

我也尝试过pip install --index-url=https://pypi.python.org/simple kazoo,但没有任何效果。

点子--版本:pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)

蟒蛇--版本:Python 2.7.6

我在 macOS Catalina 10.15.7 的本地系统中的 Docker 容器中运行它

我尝试升级 pip: pip install pip --upgrade它也给出了同样的错误:

 Cannot fetch index base URL https://pypi.python.org/simple/
 Could not find any downloads that satisfy the requirement pip in /usr/lib/python2.7/dist-packages
 Downloading/unpacking pip
 Cleaning up...
 No distributions at all found for pip in /usr/lib/python2.7/dist-packages
 Storing debug log for failure in /root/.pip/pip.log

我是 python 新手。任何帮助表示赞赏。

4

0 回答 0