简体   繁体   中英

Handshake operation timed out error while installing modules

I installed python 3.8 on my laptop. It was all fine then I was setting up modules so I can start my work I installed one module pyttsx3 then it asked to upgrade pip I did that then I had to install kivy but when I did it gave me some error.

The whole error:

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

My inte.net is good working fine Help Me!!

What I tried: I tried disabling proxy but it turns on automatically when I do pip install something

So I had this problem, tried all kind of things, but nothing worked for me. At the end on Windows 10 went to "Internet Properties" -> "Connection" -> "LAN Settings" and unchecked that box. This fixed everything.

When opening cmd: -Run as Administrator

Then you can: pip install xxx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM