ERROR: Could not find a version that satisfies the requirement sphinx (from versions: none)
Could not fetch URL https://pypi.org/simple/sphinx/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/sphinx/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))) - skipping
ERROR: Could not find a version that satisfies the requirement sphinx (from versions: none)
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)'))) - skipping
ERROR: No matching distribution found for sphinx步骤 0:很可能是命令行的验证过期了,需要中心验证
步骤1. 更新证书
/Applications/Python\ 3.x/Install\ Certificates.command步骤2. 使用 --trusted-host 选项
--trusted-host 选项pip install sphinx --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.org步骤 3:更新 pip
步骤 4:检查网络连接
步骤 5:使用 PyPI 镜像
步骤 6:手动安装
结论
Last updated