我在尝试使用anaconda在Windows上安装python时,出现以下错误:
SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC decryption failed or bad record mac (_ssl.c:2633) Anaconda Prompt Error
我该如何解决?
我已经尝试通过以下方式将ssl验证参数设置为false:
conda config --set ssl_verify false
这台电脑是工作站,所以我可以在另一个网络上使用它。
我已经尝试在另一台连接相同 WLAN 网络的笔记本电脑上做同样的事情。没有任何问题。
以下是错误日志:
C:\\WINDOWS\\system32\>conda install -c conda-forge python
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan
environment location: C:\\ProgramData\\Anaconda3\\envs\\gkk
added / updated specs:
- keepalive
The following packages will be downloaded:
package | build
---------------------------|-----------------
python-3.10.4 |hcf16a7b_0_cpython 16.2 MB conda-forge
------------------------------------------------------------
Total: 16.2 MB
The following NEW packages will be INSTALLED:
bzip2 conda-forge/win-64::bzip2-1.0.8-h8ffe710_4
keepalive conda-forge/noarch::keepalive-0.5-pyhd8ed1ab_6
libffi conda-forge/win-64::libffi-3.4.2-h8ffe710_5
libzlib conda-forge/win-64::libzlib-1.2.11-h8ffe710_1013
pip conda-forge/noarch::pip-22.0.4-pyhd8ed1ab_0
python conda-forge/win-64::python-3.10.4-hcf16a7b_0_cpython
python_abi conda-forge/win-64::python_abi-3.10-2_cp310
setuptools conda-forge/win-64::setuptools-60.10.0-py310h5588dad_0
sqlite conda-forge/win-64::sqlite-3.37.1-h8ffe710_0
tk conda-forge/win-64::tk-8.6.12-h8ffe710_0
tzdata conda-forge/noarch::tzdata-2022a-h191b570_0
wheel conda-forge/noarch::wheel-0.37.1-pyhd8ed1ab_0
xz conda-forge/win-64::xz-5.2.5-h62dcd97_1
Proceed (\[y\]/n)? y
Downloading and Extracting Packages
python-3.10.4 | 16.2 MB | | 0%
SSLError(SSLError(1, '\[SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC\] decryption failed or bad record mac (\_ssl.c:2633)'))
我期望不出现错误:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done