Conda install command fails

I just installed the latest Anaconda3-2021. Using the Anaconda powershell, I tried “conda install glpk”.

I got an error suggesting I did not have internet access to I Googled this issue and found the solution at

which says to copy these files from Anaconda3/Library/bin to Anaconda3/DLLs :
libcrypto-1_1-x64.dll and libssl-1_1-x64.dll

After doing that, the install worked perfectly. So, this seems to be a known issue for 2 years.

I haven’t experienced this issue myself, but I did follow the SO post you shared back to the related GH issue in conda from 2019.

It looks like there is an environment variable you can enable which might help avoid copying DLLs around. You might have some luck by following the instructions in this comment: conda 4.7.10 cannot install packages, make new envs, or update since update and removal of env · Issue #9003 · conda/conda · GitHub

Spoiler: set this environment variable to 1 - CONDA_DLL_SEARCH_MODIFICATION_ENABLE.