-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conda SSL Error: OpenSSL appears to be unavailable on this machine. OpenSSL is required to download and install packages. #11982
Comments
HI richlysakowski, I have the same issue you are reporting here. I updated conda from 4.x to 22.9 and I was not able to install any more libraries with the same OpenSSL error. After upgrading also Anaconda Navigator to 2.3.2 the error persisted HOWEVER, I was able to install the library directly from the Navigator Environments tab but not from the command line |
I have the same issue here. No conda command is working now for me, I also tried some of the solutions you used from stackoverflow and none is working |
I'm also waiting for this to be fixed. |
This is due to .dll error go to location where you've install anaconda anaconda3>Library>bin. search and copy following dll files libcrypto-1_1-x64.dll and paste to anaconda3>DLLs. then restart your pc. issue will get resolved. |
go to location where you've install anaconda anaconda3>Library>bin. search and copy following dll files libcrypto-1_1-x64.dll and paste to anaconda3>DLLs. then restart your pc. issue will get resolved. This will solve the issue. Thank you Mahesh2519 |
It works for me. Thx :) |
@Mahesh2519 It does work and the reboot is not needed. Thank you! |
Works for me as well. Thanks alot! |
worked here to. I was on Miniconda3, exact same steps |
Great, I also had this problem after upgrading my conda version to 22.9, and this method really worked for my Miniconda3. It works without reboot. |
Great! Works for me |
This worked for me as well with (latest) Anaconda version 2022.10. |
This is a duplicate of #11795 |
This unfortunately does not work for me.... |
Worked for me without a reboot on conda 22.9.0 on Windows11 machine. Thank you ! |
If I run: I receive: openssl 3.0.5-hcfcfb64_2 --> 1.1.1q-hcfcfb64_1 None Since openssl was 'downgraded' do I have to perform these steps again? libcrypto-1_1-x64.dll libssl-1_1-x64.dll and paste to anaconda3>DLLs. ? |
Greate solution! Thanks a lot. |
solved my problem. |
Thanks a lot! |
I couldn't find these files on my machine.. there was libcrypto-1_1, but not with x64. |
Excellent |
Works! Thanks a lot |
This one worked for me! |
Works until Once that cannot install it on my environment. |
This worked for me as well. Thank you so much! |
Does not work for me... CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to Exception: HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /conda-forge/win-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) Any ideas what might help? |
I have had the same issue, installing a fresh anaconda and trying to install packages inside environments from the anaconda prompt leads to OpenSSL errors. For me, pasting DLL files did not work (I only had libcrypto-1_1-x64.dll in my anaconda3>Library>bin). I found that creating my environment from the anaconda navigator itself (not the prompt) meant that some packages, including openssl, are automatically installed. Then, 'conda install' inside that environment from the prompt works. Posting this in case anybody finds this workaround useful. |
with this you all can fix it in miniconda and Anaconda |
Who on earth figures this stuff out? Thanks for doing it! |
hero! It works on my computer |
it works. Thanks |
Thanks team... |
thanks a lot!!! |
Damn! The solution worked. Thanks @Mahesh2519 . Also do not need to even close anaconda prompt. It will work 👍 |
The solution worked @Mahesh2519 . Thanks |
worked as a charm, without restart |
Thanks a lot. It worked for me. |
I have read through all the comments on this page and unfortunately nothing has worked. I have a brand new MacBook M2 Pro and am getting the same error reported throughout the thread: `CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to Exception: HTTPSConnectionPool(host='conda.anaconda.org', port=443): Max retries exceeded with url: /bioconda/osx-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) |
Didn't work for me, either. WTF?? |
Thank you to all the folks who have posted suggested fixes. FWIIW I tried every one, even after reinstalling Anaconda twice and trying several suggestions on other sites, like Stack Overflow, but still no luck. This is extremely frustrating, and given the amount of time this problem has been aggravating users, I am amazed that Anaconda or someone similar hasn't fixed it. I must admire the fortitude and patience of fellow learners as shown in this thread. I'll keep monitoring the site in the hope that someone official helps us out. These sorts of bugs should not have to be dealt with. |
Thanks, a lot man, it works |
Also worked for me, thank you @Mahesh2519 ! This is due to .dll error
libcrypto-1_1-x64.dll and
No restart was needed. |
Well done for fixing the problem. Regrettably it took far too long to identify and resolve the issue for me. After avoiding Anaconda for as long as I could, I eventually had to completely remove all Anaconda material and the app from my PC and then reinstall everything from scratch - a daunting task. Except for the fact that Anaconda ran fine on my laptop so I managed to just get by, I seriously considered trying to identify an alternative. I’m thankful that at least some other users managed to obtain a resolution to the problem. RegardsRogerSent from my iPadOn 27 Sep 2023, at 10:14 pm, Orfeas Bourchas ***@***.***> wrote:
Also work for me, thank you @Mahesh2519 !
This is due to .dll error
Go to location where you've install anaconda
anaconda3>Library>bin.
Search and copy following dll files
libcrypto-1_1-x64.dll and
libssl-1_1-x64.dll
Paste to anaconda3>DLLs.
No restart was needed.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
degrade openssl to 1.1.1w works for me |
IT Works! |
thx it worked |
Thank you, the problem is now fixed. Great support from the fellow users for a problem that should never have existed in the first place.I am most grateful for the solutions offered. RogerSent from my iPadOn 15 Nov 2023, at 9:02 pm, ERMIAS-MELKAMU ***@***.***> wrote:
go to location where you've install anaconda anaconda3>Library>bin. search and copy following dll files
libcrypto-1_1-x64.dll libssl-1_1-x64.dll
and paste to anaconda3>DLLs.
then restart your pc.
issue will get resolved. This will solve the issue. Thank you Mahesh2519
thx it worked
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Thank u :) thats worked for me 👍 |
How do you solve this for mac users? |
for me the error was resolved after following the above steps. I am able to create the environment now, but the following script: |
Thanks!! |
Thank you for your attention. Regards,RogerSent from my iPadOn 27 Apr 2024, at 12:20 PM, XanderDevelops ***@***.***> wrote:
This is due to .dll error
go to location where you've install anaconda anaconda3>Library>bin. search and copy following dll files
libcrypto-1_1-x64.dll libssl-1_1-x64.dll
and paste to anaconda3>DLLs.
then restart your pc.
issue will get resolved.
Thanks!!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Checklist
What happened?
I recently updated Anaconda Navigator to version 22.3.0 (using Anaconda Navigator's built-in "Updater" interface. Now I get the Conda SSLError whenever I go to use conda. This happens in my base environment, and other environments.
conda either fails right away with this error, or it takes forever to solve installations (I let it run overnight last night), and then fails with many conflicts.
What I did:
RESULT THAT I GOT:
output of
conda list --revisions
command:I tried a few solutions from stackoverflow.com but none of them helped fix the problem.
conda update conda
did NOT work.conda config --set ssl_verify False
# This did not help, and I don't like this solution because SSL certificates SHOULD be verified. (This hack circumvents security.)conda config --show
# This is supposed to remove saved proxy servers from anaconda configuration.conda config --remove-key proxy_servers
conda clean --source-cache
These fixes did not work.
Next I will try updating to Anaconda 2.3.2 using Anaconda Navigator Updater. Unfortunately, Anaconda Navigator Updater takes forever and often fails. I will provide an update after a while.
Conda Details
conda info
conda config
conda list
Additional Context
I wish I could stop Anaconda and Windows 10 from putting environments into any directories other than
"C:\ProgramData\Anaconda3\envs". This is super-annoying, because then I have to hunt for them. This is one of the biggest reasons I don't use pip-based environments unless it is absolutely necessary.
envs directories :
C:\ProgramData\Anaconda3\envs
C:\Users\PowerUser.conda\envs
C:\Users\PowerUser\AppData\Local\conda\conda\envs
The text was updated successfully, but these errors were encountered: