Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC decryption failed or bad record mac (_ssl.c:2633) Anaconda Prompt Error

When I try to install python on Windows using anaconda, I get the following error: SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC decryption failed or bad record mac (_ssl.c:2633) Anaconda Prompt Error

How can I fix?

I have already try to set ssl verification parameter to false using:

conda config --set ssl_verify false

This Pc is workstation so I can use it at another network.

I have tried doing the same on another laptop which is connected same Wlan Network. That works without any problem.

Here is a log if the error:

 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)'))

I am expecting without error:

Preparing transaction: done
Verifying transaction: done 
Executing transaction: done
like image 703
nuri Avatar asked Sep 15 '25 04:09

nuri


1 Answers

I had this issue and running the opposite worked for me:

~/miniconda3/bin/conda config --set ssl_verify true
like image 183
efbbrown Avatar answered Sep 17 '25 19:09

efbbrown