【问题标题】:Handshake operation timed out error while installing modules安装模块时握手操作超时错误
【发布时间】:2021-02-01 06:25:24
【问题描述】:

我在笔记本电脑上安装了 python 3.8。一切都很好,然后我正在设置模块,这样我就可以开始工作了。我安装了一个模块pyttsx3 然后它要求升级 pip 我这样做了,然后我不得不安装 kivy 但是当我这样做时给了我一些错误。

整个错误:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after 

connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/kivy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/kivy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/kivy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/kivy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', timeout('_ssl.c:1108: The handshake operation timed out'))': /simple/kivy/
ERROR: Could not find a version that satisfies the requirement kivy
ERROR: No matching distribution found for kivy

我的网络很好 帮帮我!!

我尝试了什么: 我尝试禁用代理,但是当我执行 pip install something 时它会自动打开

【问题讨论】:

  • 问题不在于模块或互联网连接,问题在于您如何处理代理。以上问题将帮助您解决错误
  • 不,这个问题对我没有帮助,因为我什至不使用代理服务器或类似的东西
  • 我也关闭了代理,但每当我尝试 pip install 时,它都会显示错误。请帮忙
  • 您系统上的python 是32bit64bit,您使用的是哪个操作系统?也试试这个安装Kivy一次pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/

标签: python-3.x pip python-3.8


【解决方案1】:

打开cmd时: - 以管理员身份运行

那么你可以:pip install xxx

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-09-15
    • 2016-06-03
    • 2018-06-29
    • 2020-04-11
    • 2021-04-19
    • 2012-06-30
    相关资源
    最近更新 更多