问题描述:
用pip安装第三方库失败,报错pip版本不正确,需要升级到最新版本,报错信息如下:
Could not fetch URL https://pypi.org/simple/sudo/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/sudo/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)'))) - skipping
ERROR: Could not find a version that satisfies the requirement sudo (from versions: none)
ERROR: No matching distribution found for sudo
WARNING: You are using pip version 20.2.3; however, version 21.1.1 is available.
You should consider upgrading via the '/Users/zhengkun/Downloads/crm_autotest-master/venv/bin/python3.9 -m pip install --upgrade pip' command.