自学内容网 自学内容网

(1, ‘[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1124)

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1124)'))': /pypi/simple/urllib3/

pip install的时候遇到这个错误

第一步:

pip3 install urllib3==1.23

 不行。

第二步:

python -m pip install --upgrade urllib3

不行。

第三步:终于可以了。

pip3 install pytesseract -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com

这里把https://mirrors.aliyun.com/pypi/simple/ 修改为 http://mirrors.aliyun.com/pypi/simple/   


原文地址:https://blog.csdn.net/weixin_41850878/article/details/140122536

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!