$ pip install pygame Collecting pygame WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1123)'))': /packages/00/86/63b1967d59c3424992f0f822b012bcf24d8d013f8d65b40db20fae01be70/pygame-2.0.0-cp38-cp38-win_amd64.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1123)'))': /packages/00/86/63b1967d59c3424992f0f822b012bcf24d8d013f8d65b40db20fae01be70/pygame-2.0.0-cp38-cp38-win_amd64.whl WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1123)'))': /packages/00/86/63b1967d59c3424992f0f822b012bcf24d8d013f8d65b40db20fae01be70/pygame-2.0.0-cp38-cp38-win_amd64.whl WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1123)'))': /packages/00/86/63b1967d59c3424992f0f822b012bcf24d8d013f8d65b40db20fae01be70/pygame-2.0.0-cp38-cp38-win_amd64.whl WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1123)'))': /packages/00/86/63b1967d59c3424992f0f822b012bcf24d8d013f8d65b40db20fae01be70/pygame-2.0.0-cp38-cp38-win_amd64.whl ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/00/86/63b1967d59c3424992f0f822b012bcf24d8d013f8d65b40db20fae01be70/pygame-2.0.0-cp38-cp38-win_amd64.whl (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1123)')))
1547 次
2 回答
0
更改您的时区:
timedatectl set-timezone yourtimezone/name
获取时区列表timedatectl list-timezones
然后再试一次。
于 2021-03-22T22:34:43.337 回答
0
只需卸载 python 1st 的所有东西。然后从 pc 中删除该文件。然后卸载python解释器并再次从其官方页面下载python并安装它并再次安装python解释器然后
在您的 cmd 或 powershell 中检查它是否运行完美。 它肯定会运行。
我遇到了同样的问题,但现在已经解决了。
于 2021-07-16T10:14:24.310 回答