conda / conda

A system-level, binary package and environment manager running on all major operating systems and platforms.
https://docs.conda.io/projects/conda/
Other
6.24k stars 1.6k forks source link

Conda SSL Error: OpenSSL appears to be unavailable on this machine. OpenSSL is required to download and install packages. #11982

Closed richlysakowski closed 1 year ago

richlysakowski commented 1 year ago

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 SSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.

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:

conda install -c conda-forge pytube
Collecting package metadata (current_repodata.json): failed

RESULT THAT I GOT:

CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to
download and install packages.

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."))
(webscrapers) c:\Users\PowerUser>conda --version
conda 22.9.0

output of conda list --revisions command:

2022-07-27 14:03:35  (rev 2)
    +async_generator-1.10 (conda-forge/noarch)
    +h11-0.13.0 (conda-forge/noarch)
    +outcome-1.2.0 (conda-forge/noarch)
    +selenium-4.3.0 (conda-forge/noarch)
    +trio-0.21.0 (conda-forge/win-64)
    +trio-websocket-0.9.2 (conda-forge/noarch)
    +wsproto-1.1.0 (conda-forge/win-64)

2022-09-27 18:17:44  (rev 3)
     anaconda-navigator  {2.1.4 (defaults/win-64) -> 2.3.0 (defaults/win-64)}
     conda  {4.13.0 (conda-forge/win-64) -> 22.9.0 (defaults/win-64)}

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 ```shell c:\Users\PowerUser>conda info active environment : None shell level : 0 user config file : C:\Users\PowerUser\.condarc populated config files : C:\Users\PowerUser\.condarc conda version : 22.9.0 conda-build version : 3.21.8 python version : 3.9.12.final.0 virtual packages : __cuda=11.7=0 __win=0=0 __archspec=1=x86_64 base environment : C:\ProgramData\Anaconda3 (writable) conda av data dir : C:\ProgramData\Anaconda3\etc\conda conda av metadata url : None channel URLs : https://conda.anaconda.org/conda-forge/win-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : C:\ProgramData\Anaconda3\pkgs C:\Users\PowerUser\.conda\pkgs C:\Users\PowerUser\AppData\Local\conda\conda\pkgs envs directories : C:\ProgramData\Anaconda3\envs C:\Users\PowerUser\.conda\envs C:\Users\PowerUser\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/22.9.0 requests/2.27.1 CPython/3.9.12 Windows/10 Windows/10.0.19044 administrator : True netrc file : None offline mode : False ```
conda config ```shell c:\Users\PowerUser>conda config --show-sources ==> C:\Users\PowerUser\.condarc <== ssl_verify: False channel_priority: strict channels: - conda-forge - defaults ```
conda list ```shell c:\Users\PowerUser>conda list --show-channel-urls # packages in environment at C:\ProgramData\Anaconda3: # # Name Version Build Channel _ipyw_jlab_nb_ext_conf 0.1.0 py39haa95532_0 defaults aiohttp 3.8.1 py39h2bbff1b_1 defaults aiosignal 1.2.0 pyhd3eb1b0_0 defaults alabaster 0.7.12 pyhd3eb1b0_0 defaults anaconda 2022.05 py39_0 defaults anaconda-client 1.9.0 py39haa95532_0 defaults anaconda-navigator 2.3.0 py39haa95532_0 defaults anaconda-project 0.10.2 pyhd3eb1b0_0 defaults anyio 3.5.0 py39haa95532_0 defaults appdirs 1.4.4 pyhd3eb1b0_0 defaults argon2-cffi 21.3.0 pyhd3eb1b0_0 defaults argon2-cffi-bindings 21.2.0 py39h2bbff1b_0 defaults arrow 1.2.2 pyhd3eb1b0_0 defaults astroid 2.6.6 py39haa95532_0 defaults astropy 5.0.4 py39h080aedc_0 defaults asttokens 2.0.5 pyhd3eb1b0_0 defaults async-timeout 4.0.1 pyhd3eb1b0_0 defaults async_generator 1.10 py_0 conda-forge atomicwrites 1.4.0 py_0 defaults attrs 21.4.0 pyhd3eb1b0_0 defaults automat 20.2.0 py_0 defaults autopep8 1.6.0 pyhd3eb1b0_0 defaults babel 2.9.1 pyhd3eb1b0_0 defaults backcall 0.2.0 pyhd3eb1b0_0 defaults backports 1.1 pyhd3eb1b0_0 defaults backports.functools_lru_cache 1.6.4 pyhd3eb1b0_0 defaults backports.tempfile 1.0 pyhd3eb1b0_1 defaults backports.weakref 1.0.post1 py_1 defaults bcrypt 3.2.0 py39h196d8e1_0 defaults beautifulsoup4 4.11.1 py39haa95532_0 defaults binaryornot 0.4.4 pyhd3eb1b0_1 defaults bitarray 2.4.1 py39h2bbff1b_0 defaults bkcharts 0.2 py39haa95532_0 defaults black 19.10b0 py_0 defaults blas 1.0 mkl defaults bleach 4.1.0 pyhd3eb1b0_0 defaults blosc 1.21.0 h19a0ad4_0 defaults bokeh 2.4.2 py39haa95532_0 defaults boto3 1.21.32 pyhd3eb1b0_0 defaults botocore 1.24.32 pyhd3eb1b0_0 defaults bottleneck 1.3.4 py39h080aedc_0 defaults brotli 1.0.9 ha925a31_2 defaults brotlipy 0.7.0 py39h2bbff1b_1003 defaults bzip2 1.0.8 he774522_0 defaults ca-certificates 2022.3.29 haa95532_1 defaults cachetools 4.2.2 pyhd3eb1b0_0 defaults certifi 2021.10.8 py39haa95532_2 defaults cffi 1.15.0 py39h2bbff1b_1 defaults cfitsio 3.470 he774522_6 defaults chardet 4.0.0 py39haa95532_1003 defaults charls 2.2.0 h6c2663c_0 defaults charset-normalizer 2.0.4 pyhd3eb1b0_0 defaults click 8.0.4 py39haa95532_0 defaults cloudpickle 2.0.0 pyhd3eb1b0_0 defaults clyent 1.2.2 py39haa95532_1 defaults colorama 0.4.4 pyhd3eb1b0_0 defaults colorcet 2.0.6 pyhd3eb1b0_0 defaults comtypes 1.1.10 py39haa95532_1002 defaults conda 22.9.0 py39haa95532_0 defaults conda-build 3.21.8 py39haa95532_2 defaults conda-content-trust 0.1.1 pyhd3eb1b0_0 defaults conda-env 2.6.0 haa95532_1 defaults conda-pack 0.6.0 pyhd3eb1b0_0 defaults conda-package-handling 1.8.1 py39h8cc25b3_0 defaults conda-repo-cli 1.0.4 pyhd3eb1b0_0 defaults conda-token 0.3.0 pyhd3eb1b0_0 defaults conda-verify 3.4.2 py_1 defaults console_shortcut 0.1.1 4 defaults constantly 15.1.0 pyh2b92418_0 defaults cookiecutter 1.7.3 pyhd3eb1b0_0 defaults cryptography 3.4.8 py39h71e12ea_0 defaults cssselect 1.1.0 pyhd3eb1b0_0 defaults curl 7.82.0 h2bbff1b_0 defaults cycler 0.11.0 pyhd3eb1b0_0 defaults cython 0.29.28 py39hd77b12b_0 defaults cytoolz 0.11.0 py39h2bbff1b_0 defaults daal4py 2021.5.0 py39h8cb3d55_0 defaults dal 2021.5.0 haa95532_796 defaults dask 2022.2.1 pyhd3eb1b0_0 defaults dask-core 2022.2.1 pyhd3eb1b0_0 defaults dataclasses 0.8 pyh6d0b6a4_7 defaults datashader 0.13.0 pyhd3eb1b0_1 defaults datashape 0.5.4 py39haa95532_1 defaults debugpy 1.5.1 py39hd77b12b_0 defaults decorator 5.1.1 pyhd3eb1b0_0 defaults defusedxml 0.7.1 pyhd3eb1b0_0 defaults diff-match-patch 20200713 pyhd3eb1b0_0 defaults distributed 2022.2.1 pyhd3eb1b0_0 defaults docutils 0.17.1 py39haa95532_1 defaults entrypoints 0.4 py39haa95532_0 defaults et_xmlfile 1.1.0 py39haa95532_0 defaults executing 0.8.3 pyhd3eb1b0_0 defaults filelock 3.6.0 pyhd3eb1b0_0 defaults flake8 3.9.2 pyhd3eb1b0_0 defaults flask 1.1.2 pyhd3eb1b0_0 defaults fonttools 4.25.0 pyhd3eb1b0_0 defaults freetype 2.10.4 hd328e21_0 defaults frozenlist 1.2.0 py39h2bbff1b_0 defaults fsspec 2022.2.0 pyhd3eb1b0_0 defaults future 0.18.2 py39haa95532_1 defaults gensim 4.1.2 py39hd77b12b_0 defaults giflib 5.2.1 h62dcd97_0 defaults glob2 0.7 pyhd3eb1b0_0 defaults google-api-core 1.25.1 pyhd3eb1b0_0 defaults google-auth 1.33.0 pyhd3eb1b0_0 defaults google-cloud-core 1.7.1 pyhd3eb1b0_0 defaults google-cloud-storage 1.31.0 py_0 defaults google-crc32c 1.1.2 py39h2bbff1b_0 defaults google-resumable-media 1.3.1 pyhd3eb1b0_1 defaults googleapis-common-protos 1.53.0 py39h2eaa2aa_0 defaults greenlet 1.1.1 py39hd77b12b_0 defaults grpcio 1.42.0 py39hc60d5dd_0 defaults h11 0.13.0 pyhd8ed1ab_1 conda-forge h5py 3.6.0 py39h3de5c98_0 defaults hdf5 1.10.6 h7ebc959_0 defaults heapdict 1.0.1 pyhd3eb1b0_0 defaults holoviews 1.14.8 pyhd3eb1b0_0 defaults hvplot 0.7.3 pyhd3eb1b0_1 defaults hyperlink 21.0.0 pyhd3eb1b0_0 defaults icc_rt 2019.0.0 h0cc432a_1 defaults icu 58.2 ha925a31_3 defaults idna 3.3 pyhd3eb1b0_0 defaults imagecodecs 2021.8.26 py39ha1f97ea_0 defaults imageio 2.9.0 pyhd3eb1b0_0 defaults imagesize 1.3.0 pyhd3eb1b0_0 defaults importlib-metadata 4.11.3 py39haa95532_0 defaults importlib_metadata 4.11.3 hd3eb1b0_0 defaults incremental 21.3.0 pyhd3eb1b0_0 defaults inflection 0.5.1 py39haa95532_0 defaults iniconfig 1.1.1 pyhd3eb1b0_0 defaults intake 0.6.5 pyhd3eb1b0_0 defaults intel-openmp 2021.4.0 haa95532_3556 defaults intervaltree 3.1.0 pyhd3eb1b0_0 defaults ipykernel 6.9.1 py39haa95532_0 defaults ipython 8.2.0 py39haa95532_0 defaults ipython_genutils 0.2.0 pyhd3eb1b0_1 defaults ipywidgets 7.6.5 pyhd3eb1b0_1 defaults isort 5.9.3 pyhd3eb1b0_0 defaults itemadapter 0.3.0 pyhd3eb1b0_0 defaults itemloaders 1.0.4 pyhd3eb1b0_1 defaults itsdangerous 2.0.1 pyhd3eb1b0_0 defaults jdcal 1.4.1 pyhd3eb1b0_0 defaults jedi 0.18.1 py39haa95532_1 defaults jinja2 2.11.3 pyhd3eb1b0_0 defaults jinja2-time 0.2.0 pyhd3eb1b0_3 defaults jmespath 0.10.0 pyhd3eb1b0_0 defaults joblib 1.1.0 pyhd3eb1b0_0 defaults jpeg 9e h2bbff1b_0 defaults jq 1.6 haa95532_1 defaults json5 0.9.6 pyhd3eb1b0_0 defaults jsonschema 4.4.0 py39haa95532_0 defaults jupyter 1.0.0 py39haa95532_7 defaults jupyter_client 6.1.12 pyhd3eb1b0_0 defaults jupyter_console 6.4.0 pyhd3eb1b0_0 defaults jupyter_core 4.9.2 py39haa95532_0 defaults jupyter_server 1.13.5 pyhd3eb1b0_0 defaults jupyterlab 3.3.2 pyhd3eb1b0_0 defaults jupyterlab_pygments 0.1.2 py_0 defaults jupyterlab_server 2.10.3 pyhd3eb1b0_1 defaults jupyterlab_widgets 1.0.0 pyhd3eb1b0_1 defaults keyring 23.4.0 py39haa95532_0 defaults kiwisolver 1.3.2 py39hd77b12b_0 defaults lazy-object-proxy 1.6.0 py39h2bbff1b_0 defaults lcms2 2.12 h83e58a3_0 defaults lerc 3.0 hd77b12b_0 defaults libaec 1.0.4 h33f27b4_1 defaults libarchive 3.4.2 h5e25573_0 defaults libcrc32c 1.1.1 ha925a31_2 defaults libcurl 7.82.0 h86230a5_0 defaults libdeflate 1.8 h2bbff1b_5 defaults libiconv 1.16 h2bbff1b_2 defaults liblief 0.11.5 hd77b12b_1 defaults libpng 1.6.37 h2a8f88b_0 defaults libprotobuf 3.19.1 h23ce68f_0 defaults libspatialindex 1.9.3 h6c2663c_0 defaults libssh2 1.10.0 hcd4344a_0 defaults libtiff 4.2.0 hd0e1b90_0 defaults libwebp 1.2.2 h2bbff1b_0 defaults libxml2 2.9.12 h0ad7f3c_0 defaults libxslt 1.1.34 he774522_0 defaults libzopfli 1.0.3 ha925a31_0 defaults llvmlite 0.38.0 py39h23ce68f_0 defaults locket 0.2.1 py39haa95532_2 defaults lxml 4.8.0 py39h1985fb9_0 defaults lz4-c 1.9.3 h2bbff1b_1 defaults lzo 2.10 he774522_2 defaults m2w64-libwinpthread-git 5.0.0.4634.697f757 2 defaults markdown 3.3.4 py39haa95532_0 defaults markupsafe 2.0.1 py39h2bbff1b_0 defaults matplotlib 3.5.1 py39haa95532_1 defaults matplotlib-base 3.5.1 py39hd77b12b_1 defaults matplotlib-inline 0.1.2 pyhd3eb1b0_2 defaults mccabe 0.6.1 py39haa95532_1 defaults menuinst 1.4.18 py39h59b6b97_0 defaults mistune 0.8.4 py39h2bbff1b_1000 defaults mkl 2021.4.0 haa95532_640 defaults mkl-service 2.4.0 py39h2bbff1b_0 defaults mkl_fft 1.3.1 py39h277e83a_0 defaults mkl_random 1.2.2 py39hf11a4ad_0 defaults mock 4.0.3 pyhd3eb1b0_0 defaults mpmath 1.2.1 py39haa95532_0 defaults msgpack-python 1.0.2 py39h59b6b97_1 defaults msys2-conda-epoch 20160418 1 defaults multidict 5.1.0 py39h2bbff1b_2 defaults multipledispatch 0.6.0 py39haa95532_0 defaults munkres 1.1.4 py_0 defaults mypy_extensions 0.4.3 py39haa95532_1 defaults navigator-updater 0.2.1 py39_1 defaults nbclassic 0.3.5 pyhd3eb1b0_0 defaults nbclient 0.5.13 py39haa95532_0 defaults nbconvert 6.4.4 py39haa95532_0 defaults nbformat 5.3.0 py39haa95532_0 defaults nest-asyncio 1.5.5 py39haa95532_0 defaults networkx 2.7.1 pyhd3eb1b0_0 defaults nltk 3.7 pyhd3eb1b0_0 defaults nose 1.3.7 pyhd3eb1b0_1008 defaults notebook 6.4.8 py39haa95532_0 defaults numba 0.55.1 py39hf11a4ad_0 defaults numexpr 2.8.1 py39hb80d3ca_0 defaults numpy 1.21.5 py39h7a0a035_1 defaults numpy-base 1.21.5 py39hca35cd5_1 defaults numpydoc 1.2 pyhd3eb1b0_0 defaults olefile 0.46 pyhd3eb1b0_0 defaults openjpeg 2.4.0 h4fc8c34_0 defaults openpyxl 3.0.9 pyhd3eb1b0_0 defaults openssl 1.1.1n h2bbff1b_0 defaults outcome 1.2.0 pyhd8ed1ab_0 conda-forge packaging 21.3 pyhd3eb1b0_0 defaults pandas 1.4.2 py39hd77b12b_0 defaults pandocfilters 1.5.0 pyhd3eb1b0_0 defaults panel 0.13.0 py39haa95532_0 defaults param 1.12.0 pyhd3eb1b0_0 defaults paramiko 2.8.1 pyhd3eb1b0_0 defaults parsel 1.6.0 py39haa95532_0 defaults parso 0.8.3 pyhd3eb1b0_0 defaults partd 1.2.0 pyhd3eb1b0_1 defaults pathspec 0.7.0 py_0 defaults patsy 0.5.2 py39haa95532_1 defaults pep8 1.7.1 py39haa95532_0 defaults pexpect 4.8.0 pyhd3eb1b0_3 defaults pickleshare 0.7.5 pyhd3eb1b0_1003 defaults pillow 9.0.1 py39hdc2b20a_0 defaults pip 21.2.4 py39haa95532_0 defaults pkginfo 1.8.2 pyhd3eb1b0_0 defaults plotly 5.6.0 pyhd3eb1b0_0 defaults pluggy 1.0.0 py39haa95532_1 defaults powershell_shortcut 0.0.1 3 defaults poyo 0.5.0 pyhd3eb1b0_0 defaults prometheus_client 0.13.1 pyhd3eb1b0_0 defaults prompt-toolkit 3.0.20 pyhd3eb1b0_0 defaults prompt_toolkit 3.0.20 hd3eb1b0_0 defaults protego 0.1.16 py_0 defaults protobuf 3.19.1 py39hd77b12b_0 defaults psutil 5.8.0 py39h2bbff1b_1 defaults ptyprocess 0.7.0 pyhd3eb1b0_2 defaults pure_eval 0.2.2 pyhd3eb1b0_0 defaults py 1.11.0 pyhd3eb1b0_0 defaults py-lief 0.11.5 py39hd77b12b_1 defaults pyasn1 0.4.8 pyhd3eb1b0_0 defaults pyasn1-modules 0.2.8 py_0 defaults pycodestyle 2.7.0 pyhd3eb1b0_0 defaults pycosat 0.6.3 py39h2bbff1b_0 defaults pycparser 2.21 pyhd3eb1b0_0 defaults pyct 0.4.6 py39haa95532_0 defaults pycurl 7.44.1 py39hcd4344a_1 defaults pydispatcher 2.0.5 py39haa95532_2 defaults pydocstyle 6.1.1 pyhd3eb1b0_0 defaults pyerfa 2.0.0 py39h2bbff1b_0 defaults pyflakes 2.3.1 pyhd3eb1b0_0 defaults pygments 2.11.2 pyhd3eb1b0_0 defaults pyhamcrest 2.0.2 pyhd3eb1b0_2 defaults pyjwt 2.1.0 py39haa95532_0 defaults pylint 2.9.6 py39haa95532_1 defaults pyls-spyder 0.4.0 pyhd3eb1b0_0 defaults pynacl 1.4.0 py39hbd8134f_1 defaults pyodbc 4.0.32 py39hd77b12b_1 defaults pyopenssl 21.0.0 pyhd3eb1b0_1 defaults pyparsing 3.0.4 pyhd3eb1b0_0 defaults pyqt 5.9.2 py39hd77b12b_6 defaults pyreadline 2.1 py39haa95532_1 defaults pyrsistent 0.18.0 py39h196d8e1_0 defaults pysocks 1.7.1 py39haa95532_0 defaults pytables 3.6.1 py39h56d22b6_1 defaults pytest 7.1.1 py39haa95532_0 defaults python 3.9.12 h6244533_0 defaults python-dateutil 2.8.2 pyhd3eb1b0_0 defaults python-fastjsonschema 2.15.1 pyhd3eb1b0_0 defaults python-libarchive-c 2.9 pyhd3eb1b0_1 defaults python-lsp-black 1.0.0 pyhd3eb1b0_0 defaults python-lsp-jsonrpc 1.0.0 pyhd3eb1b0_0 defaults python-lsp-server 1.2.4 pyhd3eb1b0_0 defaults python-slugify 5.0.2 pyhd3eb1b0_0 defaults python-snappy 0.6.0 py39hd77b12b_3 defaults python_abi 3.9 2_cp39 conda-forge pytz 2021.3 pyhd3eb1b0_0 defaults pyviz_comms 2.0.2 pyhd3eb1b0_0 defaults pywavelets 1.3.0 py39h2bbff1b_0 defaults pywin32 302 py39h2bbff1b_2 defaults pywin32-ctypes 0.2.0 py39haa95532_1000 defaults pywinpty 2.0.2 py39h5da7b33_0 defaults pyyaml 6.0 py39h2bbff1b_1 defaults pyzmq 22.3.0 py39hd77b12b_2 defaults qdarkstyle 3.0.2 pyhd3eb1b0_0 defaults qstylizer 0.1.10 pyhd3eb1b0_0 defaults qt 5.9.7 vc14h73c81de_0 defaults qtawesome 1.0.3 pyhd3eb1b0_0 defaults qtconsole 5.3.0 pyhd3eb1b0_0 defaults qtpy 2.0.1 pyhd3eb1b0_0 defaults queuelib 1.5.0 py39haa95532_0 defaults regex 2022.3.15 py39h2bbff1b_0 defaults requests 2.27.1 pyhd3eb1b0_0 defaults requests-file 1.5.1 pyhd3eb1b0_0 defaults rope 0.22.0 pyhd3eb1b0_0 defaults rsa 4.7.2 pyhd3eb1b0_1 defaults rtree 0.9.7 py39h2eaa2aa_1 defaults ruamel_yaml 0.15.100 py39h2bbff1b_0 defaults s3transfer 0.5.0 pyhd3eb1b0_0 defaults scikit-image 0.19.2 py39hf11a4ad_0 defaults scikit-learn 1.0.2 py39hf11a4ad_1 defaults scikit-learn-intelex 2021.5.0 py39haa95532_0 defaults scipy 1.7.3 py39h0a974cb_0 defaults scrapy 2.6.1 py39haa95532_0 defaults seaborn 0.11.2 pyhd3eb1b0_0 defaults selenium 4.3.0 pyhd8ed1ab_0 conda-forge send2trash 1.8.0 pyhd3eb1b0_1 defaults service_identity 18.1.0 pyhd3eb1b0_1 defaults setuptools 61.2.0 py39haa95532_0 defaults sip 4.19.13 py39hd77b12b_0 defaults six 1.16.0 pyhd3eb1b0_1 defaults smart_open 5.1.0 pyhd3eb1b0_0 defaults snappy 1.1.9 h6c2663c_0 defaults sniffio 1.2.0 py39haa95532_1 defaults snowballstemmer 2.2.0 pyhd3eb1b0_0 defaults sortedcollections 2.1.0 pyhd3eb1b0_0 defaults sortedcontainers 2.4.0 pyhd3eb1b0_0 defaults soupsieve 2.3.1 pyhd3eb1b0_0 defaults sphinx 4.4.0 pyhd3eb1b0_0 defaults sphinxcontrib-applehelp 1.0.2 pyhd3eb1b0_0 defaults sphinxcontrib-devhelp 1.0.2 pyhd3eb1b0_0 defaults sphinxcontrib-htmlhelp 2.0.0 pyhd3eb1b0_0 defaults sphinxcontrib-jsmath 1.0.1 pyhd3eb1b0_0 defaults sphinxcontrib-qthelp 1.0.3 pyhd3eb1b0_0 defaults sphinxcontrib-serializinghtml 1.1.5 pyhd3eb1b0_0 defaults spyder 5.1.5 py39haa95532_1 defaults spyder-kernels 2.1.3 py39haa95532_0 defaults sqlalchemy 1.4.32 py39h2bbff1b_0 defaults sqlite 3.38.2 h2bbff1b_0 defaults stack_data 0.2.0 pyhd3eb1b0_0 defaults statsmodels 0.13.2 py39h2bbff1b_0 defaults sympy 1.10.1 py39haa95532_0 defaults tabulate 0.8.9 py39haa95532_0 defaults tbb 2021.5.0 h59b6b97_0 defaults tbb4py 2021.5.0 py39h59b6b97_0 defaults tblib 1.7.0 pyhd3eb1b0_0 defaults tenacity 8.0.1 py39haa95532_0 defaults terminado 0.13.1 py39haa95532_0 defaults testpath 0.5.0 pyhd3eb1b0_0 defaults text-unidecode 1.3 pyhd3eb1b0_0 defaults textdistance 4.2.1 pyhd3eb1b0_0 defaults threadpoolctl 2.2.0 pyh0d69192_0 defaults three-merge 0.1.1 pyhd3eb1b0_0 defaults tifffile 2021.7.2 pyhd3eb1b0_2 defaults tinycss 0.4 pyhd3eb1b0_1002 defaults tk 8.6.11 h2bbff1b_0 defaults tldextract 3.2.0 pyhd3eb1b0_0 defaults toml 0.10.2 pyhd3eb1b0_0 defaults tomli 1.2.2 pyhd3eb1b0_0 defaults toolz 0.11.2 pyhd3eb1b0_0 defaults tornado 6.1 py39h2bbff1b_0 defaults tqdm 4.64.0 py39haa95532_0 defaults traitlets 5.1.1 pyhd3eb1b0_0 defaults trio 0.21.0 py39hcbf5309_0 conda-forge trio-websocket 0.9.2 pyhd8ed1ab_0 conda-forge twisted 22.2.0 py39h2bbff1b_0 defaults twisted-iocpsupport 1.0.2 py39h2bbff1b_0 defaults typed-ast 1.4.3 py39h2bbff1b_1 defaults typing-extensions 4.1.1 hd3eb1b0_0 defaults typing_extensions 4.1.1 pyh06a4308_0 defaults tzdata 2022a hda174b7_0 defaults ujson 5.1.0 py39hd77b12b_0 defaults unidecode 1.2.0 pyhd3eb1b0_0 defaults urllib3 1.26.9 py39haa95532_0 defaults vc 14.2 h21ff451_1 defaults vs2015_runtime 14.27.29016 h5e58377_2 defaults w3lib 1.21.0 pyhd3eb1b0_0 defaults watchdog 2.1.6 py39haa95532_0 defaults wcwidth 0.2.5 pyhd3eb1b0_0 defaults webencodings 0.5.1 py39haa95532_1 defaults websocket-client 0.58.0 py39haa95532_4 defaults werkzeug 2.0.3 pyhd3eb1b0_0 defaults wheel 0.37.1 pyhd3eb1b0_0 defaults widgetsnbextension 3.5.2 py39haa95532_0 defaults win_inet_pton 1.1.0 py39haa95532_0 defaults win_unicode_console 0.5 py39haa95532_0 defaults wincertstore 0.2 py39haa95532_2 defaults winpty 0.4.3 4 defaults wrapt 1.12.1 py39h196d8e1_1 defaults wsproto 1.1.0 py39hcbf5309_1 conda-forge xarray 0.20.1 pyhd3eb1b0_1 defaults xlrd 2.0.1 pyhd3eb1b0_0 defaults xlsxwriter 3.0.3 pyhd3eb1b0_0 defaults xlwings 0.24.9 py39haa95532_0 defaults xz 5.2.5 h62dcd97_0 defaults yaml 0.2.5 he774522_0 defaults yapf 0.31.0 pyhd3eb1b0_0 defaults yarl 1.6.3 py39h2bbff1b_0 defaults zfp 0.5.5 hd77b12b_6 defaults zict 2.0.0 pyhd3eb1b0_0 defaults zipp 3.7.0 pyhd3eb1b0_0 defaults zlib 1.2.12 h8cc25b3_2 defaults zope 1.0 py39haa95532_1 defaults zope.interface 5.4.0 py39h2bbff1b_0 defaults zstd 1.4.9 h19a0ad4_0 defaults ```

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

andreamelchiorrengis commented 1 year ago

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

redaelhail commented 1 year ago

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

vimkim commented 1 year ago

I'm also waiting for this to be fixed.

Mahesh2519 commented 1 year ago

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.

pathfinderNdoma commented 1 year ago

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

RaulDiegN commented 1 year ago

It works for me.

Thx :)

aidik commented 1 year ago

@Mahesh2519 It does work and the reboot is not needed. Thank you!

mschulzie commented 1 year ago

Works for me as well. Thanks alot!

kpierce8 commented 1 year ago

worked here to. I was on Miniconda3, exact same steps

SpaceDecoder commented 1 year ago

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.

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.

Yuchen-Dai commented 1 year ago

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.

Great! Works for me

christoschronopoulos commented 1 year ago

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

This worked for me as well with (latest) Anaconda version 2022.10.

kenodegard commented 1 year ago

This is a duplicate of #11795

cassiegm commented 1 year ago

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

This unfortunately does not work for me....

mwilcox12014 commented 1 year ago

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

Worked for me without a reboot on conda 22.9.0 on Windows11 machine. Thank you !

mwilcox12014 commented 1 year ago

If I run: conda install -c conda-forge opencvconda install -c conda-forge opencv

I receive: The following packages will be DOWNGRADED:

openssl 3.0.5-hcfcfb64_2 --> 1.1.1q-hcfcfb64_1 None python 3.11.0-hcf16a7b_0_cpython --> 3.11.0-h9a09f29_0_cpython None

Since openssl was 'downgraded' do I have to perform these steps again? 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. ?

It looks like these two files didn't change ? image

Anna-Andrea commented 1 year ago

Greate solution! Thanks a lot.

j2eejb8 commented 1 year ago

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.

solved my problem.

alpguvenir commented 1 year ago

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 a lot!

rskronek commented 1 year ago

I couldn't find these files on my machine.. there was libcrypto-1_1, but not with x64.

roomdestroyer commented 1 year ago

Excellent

Yuedongdong1 commented 1 year ago

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.

Works! Thanks a lot

BrayanMnz commented 1 year ago

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.

This one worked for me! Thanks a lot @Mahesh2519

cesareoaguirre commented 1 year ago

Works until conda activate ml

Once that cannot install it on my environment.

macmukasa commented 1 year ago

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.

This worked for me as well. Thank you so much!

LaviCor commented 1 year ago

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.

Does not work for me... Still getting " Collecting package metadata (current_repodata.json): ...working... failed

CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to download and install packages.

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?

MariaDeligian commented 1 year ago

worked so well thanks

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

aviML commented 1 year ago

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.

issue resolved ... even without restarting... Thanks Mahesh

AbdelrhmanAli3 commented 1 year ago

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

Thanks, Works perfectly :)

demr04 commented 1 year ago

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.

@Mahesh2519 I lov U

shlevanto commented 1 year ago

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

Thanks! This works perfectly.

MightyStud commented 1 year ago

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

Confirm this did work for me!

juanguanoluisa69 commented 1 year ago

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.

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.

thanks so much this now is working

juanguanoluisa69 commented 1 year ago

Thanks so much now this is working

ckp0615 commented 1 year ago

It works! Thanks so much

gelodefaultbrain commented 1 year ago

worked so well thanks

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

This didn't work for me :'( why though, please help

image

Thank you!

gelodefaultbrain commented 1 year ago

Hey Hey Hey! All of you! The solutions are saying that you need to get the dll files in Anaconda3/ directory. But if you have been working in a specific "environment" then that's where you gotta go and transfer the dll files from within that environment you are working on.

So go to the .conda directory (then to the specific environment you are working on) and then get the dll files from the Library/bin then transfer it to the DLLs/ directory. Remember! in the environment you are working on.

gelodefaultbrain commented 1 year ago

Now works for me! Thanks!!

cashes11 commented 1 year ago

The solution that seems to work for everybody does not work for me. I didn't have

Madhav-026 commented 1 year ago

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.

it did worked for me, definitely worth a try

DilanJT commented 1 year ago

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 Mahesh, Issue solved, restart not needed

Madeprom commented 1 year ago

Thanks for this advice. It's also working for me.

MaxiNeis commented 1 year ago

then get the dll files from the

Could you elaborate where that DLL dir has to be placed if not existant? I created a fresh env and manually placed a dir 'DLL' inside it and the DLL-files inside that dir, don't work yet

LeninmtG40 commented 1 year ago

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

Thank you!!! this solution solve my problem

kyleboddy commented 1 year ago

Just reinstalled conda and such on my new machine and I see this is still a bug. It's ridiculous.

Tduckenfield commented 1 year ago

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.

Serasul1984 commented 1 year ago

with this you all can fix it in miniconda and Anaconda https://levelup.gitconnected.com/fix-attributeerror-module-lib-has-no-attribute-openssl-521a35d83769

StrategyPhysics commented 1 year ago

Who on earth figures this stuff out? Thanks for doing it!

bemas-zg commented 1 year ago

For me didn't worked copying the files from anaconda3\Library\bin to anaconda3\DLLs, so I found a workaround through Anaconda Navigator GUI environments to install pip on the custom environment. anaconda_navigator_enviroments

bruce337 commented 1 year ago

这是由于.dll错误

转到您安装 Anaconda Anaconda3>Library>bin 的位置。搜索和复制以下 DLL 文件

libcrypto-1_1-x64.dll libssl-1_1-x64.dll

并粘贴到 anaconda3>DLL。

然后重新启动电脑。

问题将得到解决。

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.

hero! It works on my computer