When installing a python module with pip or pychar, you sometimes encounter a readtimeout error. The reason for this problem is probably the network speed
my default source is Tsinghua, sometimes the link network is not good ( the day after the college entrance examination today, it is estimated that there are too many visitors, everyone wants to go to Tsinghua, ha ha
), so I change the source.
pip --default-timeout=100 install pyspark -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
Perfect solution
Read More:
- Mac Upgrade pip WARNING: You are using pip version 21.1.1; however, version 21.1.3 is available. You s
- urllib3 (1.26.4) or chardet (4.0.0) doesn‘t match a supported version!
- urllib2.HTTPError: HTTP Error 403: Forbidden
- PIP installation error: Microsoft Visual C + + 14.0 is required perfect solution
- python:urllib2.URLError urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- pip install – PermissionError: [Errno 13] Permission denied
- Attributeerror: the solution of module ‘urllib’ has no attribute ‘quote’
- Urllib2.httperror: http error 403: forbidden solution
- Solving attributeerror: module ‘urllib’ has no attribute ‘request’
- Installing PIP under mac
- PIP installation error: error: Microsoft Visual c++ 14.0 is required perfect solution
- raise HTTPError(req.full_url, code, msg, hdrs, fp)urllib.error.HTTPError: HTTP Error 404: Not Found
- Ngixn exception net:: err_ HTTP2_ PROTOCOL_ ERROR 200
- Error in installing paddlenlp on pip on Windows
- Unofficial AirPlay Protocol
- [Error resolution] paramiko.ssh_exception.SSHException: Error reading SSH protocol banner setting
- fatal: protocol ‘https‘ is not supported
- urllib.error.URLError: <urlopen error [WinError 10060] problem solving
- error: <class ‘OSError‘>, [Errno 97] Address family not supported by protocol
- Solution of error reporting in PIP installation of iPhone