Anaconda “unable to locate program input point OpenSSL_ sk_ new_ Reserve is used in dynamic link library anaconda3 / library / bin / libssl-1_ On 1-x64.dll & qu

Open source software supply chain lighting plan, waiting for you>>>

Anaconda “unable to locate program input point OpenSSL_ sk_ new_ Reserve is used in dynamic link library anaconda3/library/bin/libssl-1_ 1-x64.dll

Refer to: https://stackoverflow.com/a/59884311/625350

Problem description

After loading several packages back and forth on anaconda and installing different Python versions in different environments, an error is reported. Since then, it is very troublesome to install anaconda. Refer to various solutions on CSDN, mainly to add libssl-1 in DLLs_ 1-x64.dll file is copied and pasted into bin, which can completely solve the symptoms but not the root cause. Either Anaconda can not be opened, or it can not be installed. Turn the question into English and go to stackoverflow to find the answer

Solutions

This solution is proposed by titusjan users on stackoverflow, and it is feasible after my personal experiment

As Anaconda maintenance is here( https://github.com/conda/conda/issues/9003#issuecomment -553529174)

It’s not advisable to move libssl DLL like that. Those DLLs are duplicated because there is some confusion in your package. There should not be any OpenSSL DLLs in the DLLs folder. They should be in Library/bin

By looking at the JSON file in the CONDA meta directory, I found DLLs/libssl-1_ 1-x64.dll, the python 3.7.0 software package_ 1-x64.dll is installed and installed by OpenSSL package. After further investigation, I found that Python 3.7.0 does not install OpenSSL as a separate package, but Python 3.7.1 (or higher) does

Generally, upgrading Python works as expected, but if you end up installing both Python 3.7.0 and OpenSSL packages in some way, there will be two libssl-1_ 1-x64.dll, and your Anaconda distribution will be destroyed( You can easily verify this with the CONDA list command.)

I think the best way to solve this problem is:

rename library/bin/libssl-1_ 1-x64.dll is library/bin/libssl-1_ 1-x64.dll.org (you’ll need it later.)

copy DLLs/libssl-1_ 1-x64.dll to library/bin/libssl-1_ 1-x64.dll

use CONDA update Python to update the python version. This will remove DLLs/libssl-1_ 1-x64.dll file

rename library/bin/libssl-1_ 1-x64.dll.org is library/bin/libssl-1_ 1-x64.dll。 This is necessary because otherwise an HTTP error will occur in the next step

use CONDA install OpenSSL — force re install to re install OpenSSL to make sure it is up-to-date

Summary

In fact, libssl-1 in the DLL folder_ The 1-x64.dll file should not exist at all. According to the official statement, adding Anaconda to the system path is not good, so it’s better to reload it( Anaconda (really troublesome)

Similar Posts: