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/ ??