Solution Anaconda "was unable to locate the procedure entry point OPENSSL_sk_new_reserve to \ \ on libssl-1_1-x64.dll dynamic link library Anaconda3 Library bin \" of

Solution Anaconda "was unable to locate the procedure entry point OPENSSL_sk_new_reserve to \ \ on libssl-1_1-x64.dll dynamic link library Anaconda3 Library bin \" of

See: https://stackoverflow.com/a/59884311/625350

Problem Description

After the anaconda slowly back and forth quite a few packages installed, download a different environment, different versions of python error, since not conda install, very troublesome, on CSDN see all sorts of solutions, mainly to the DLLs in the libssl-1_1 -x64.dll copy and paste files to the bin, the complete temporary solution, or is not open anaconda, or else can not install, problem-year-old will be translated into English, to find the answers on StackOverflow.

Solution

Time solution for users on StackOverflow titusjan made, I personally practicable after the test will be given after the Google translated version:

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

As mobile libssl dll is really not desirable. Those DLL is repetitive, because your packages in some confusion. DLLs folder there should not be any openssl DLL. They should be in the Library / bin in

By looking at JSON file conda-meta directory, I found DLLs \ libssl-1_1-x64.dll the python 3.7.0 package Library \ bin \ libssl-1_1-x64.dll openssl package has been installed and the installation. After further investigation, I discovered Python 3.7.0 OpenSSL is not installed as a separate package, but Python 3.7.1 (or later) it.

Typically, the upgrade Python will proceed as expected, but if you end up in some way while they python 3.7.0 and openssl packages installed, there will be two libssl-1_1-x64.dll file, and your issue Anaconda version will be destroyed. (You can use the command conda list easily verify this.)

I think the best way to solve this problem is:

  1. Rename Library \ bin \ libssl-1_1-x64.dll for the Library \ bin \ libssl-1_1-x64.dll.org (you will need it later.)

  2. Copy DLLs \ libssl-1_1-x64.dll to the Library \ bin \ libssl-1_1-x64.dll

  3. Use conda update python Python version will be updated. This will remove DLLs \ libssl-1_1-x64.dll file.

  4. Rename Library \ bin \ libssl-1_1-x64.dll.org for the Library \ bin \ libssl-1_1-x64.dll. This is necessary, because otherwise the next HTTP error will occur.

  5. Use conda install openssl --force-reinstall reinstall OpenSSL to ensure that it is current.

to sum up

In fact, DLL folder of libssl-1_1-x64.dll file is completely should not exist, according to the official statement will be added to the system path anaconda is not good, so it is not inferior to reload. (Anaconda is really in trouble)

Guess you like

Origin www.cnblogs.com/ericoolen/p/12332242.html