Skip to content
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

Closed
2 tasks done
richlysakowski opened this issue Oct 17, 2022 · 72 comments
Labels
duplicate indicate issues/PRs that are duplicates of another type::bug describes erroneous operation, use severity::* to classify the type

Comments

@richlysakowski
Copy link

richlysakowski commented Oct 17, 2022

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

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
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
c:\Users\PowerUser>conda config --show-sources
==> C:\Users\PowerUser\.condarc <==
ssl_verify: False
channel_priority: strict
channels:
  - conda-forge
  - defaults
conda list
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

@richlysakowski richlysakowski added the type::bug describes erroneous operation, use severity::* to classify the type label Oct 17, 2022
@andreamelchiorrengis
Copy link

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
Copy link

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
Copy link

vimkim commented Oct 19, 2022

I'm also waiting for this to be fixed.

@Mahesh2519
Copy link

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
Copy link

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
Copy link

It works for me.

Thx :)

@aidik
Copy link

aidik commented Oct 20, 2022

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

@mschulzie
Copy link

mschulzie commented Oct 21, 2022

Works for me as well. Thanks alot!

@kpierce8
Copy link

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

@SpaceDecoder
Copy link

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
Copy link

Yuchen-Dai commented Oct 25, 2022

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
Copy link

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
Copy link
Contributor

This is a duplicate of #11795

@kenodegard kenodegard closed this as not planned Won't fix, can't repro, duplicate, stale Oct 25, 2022
@kenodegard kenodegard added the duplicate indicate issues/PRs that are duplicates of another label Oct 25, 2022
@cassiegm
Copy link

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
Copy link

mwilcox12014 commented Nov 1, 2022

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
Copy link

mwilcox12014 commented Nov 1, 2022

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
Copy link

Greate solution! Thanks a lot.

@j2eejb8
Copy link

j2eejb8 commented Nov 13, 2022

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
Copy link

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
Copy link

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

@roomdestroyer
Copy link

Excellent

@Yuedongdong1
Copy link

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
Copy link

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
Copy link

Works until
conda activate ml

Once that cannot install it on my environment.

@macmukasa
Copy link

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
Copy link

LaviCor commented Dec 11, 2022

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?

@Tduckenfield
Copy link

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
Copy link

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
Copy link

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

@bemas-zg
Copy link

bemas-zg commented Mar 6, 2023

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
Copy link

这是由于.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

@anirudh08x
Copy link

it works. Thanks

@JenifarJacob
Copy link

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 team...

@dehercar
Copy link

thanks a lot!!!

@RahulChouhan96
Copy link

Damn! The solution worked. Thanks @Mahesh2519 . Also do not need to even close anaconda prompt. It will work 👍

@mission-c2
Copy link

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.

The solution worked @Mahesh2519 . Thanks

@naomifridman
Copy link

worked as a charm, without restart

@Moniruzzaman1988
Copy link

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. It worked for me.

@ghost
Copy link

ghost commented Jun 22, 2023

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
download and install packages.

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."))
`
This error occurs in the base environment and a similar error occurs when I try to create a new environment. I am relatively new to Anaconda, but was able to successfully download packages a couple of days ago using the same version. I have tried to completely uninstall anaconda from my device and start from scratch and I am able to install a single package (it doesn't matter which one), but when I try again immediately after without changing anything, I receive the same error. I have also tried to download a newer version of OpenSSL and redefine the PATH using home-brew, but this has not worked either. I receive an OpenSSL error when trying to use pip install as well. I can't do 'Conda update --all' because I receive the same error. Additionally, I am unable to open the Anaconda Navigator. Has anyone else come up with additional solutions for MacOS?

@gapster
Copy link

gapster commented Jul 13, 2023

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!

Didn't work for me, either. WTF??

@Roger-370
Copy link

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.

@Ibrahim-Abueisha
Copy link

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 man, it works

@OrfeasBourchas
Copy link

OrfeasBourchas commented Sep 27, 2023

Also worked for me, thank you @Mahesh2519 !

This is due to .dll error

  1. Go to location where you've install anaconda
    anaconda3>Library>bin.

  2. Search and copy following dll files

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

  1. Paste to anaconda3>DLLs.

No restart was needed.

@Roger-370
Copy link

Roger-370 commented Sep 28, 2023 via email

@lyfuci
Copy link

lyfuci commented Oct 1, 2023

degrade openssl to 1.1.1w works for me

@amplifica
Copy link

IT Works!
thanks a lot!

@ERMIAS-MELKAMU
Copy link

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

@Roger-370
Copy link

Roger-370 commented Nov 19, 2023 via email

@TheMajidHeydari
Copy link

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.

Thank u :) thats worked for me 👍

@martygigawatt
Copy link

How do you solve this for mac users?

@MkPradeep5
Copy link

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.

for me the error was resolved after following the above steps.

I am able to create the environment now, but the following script:
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.

@XanderDevelops
Copy link

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

@Roger-370
Copy link

Roger-370 commented Apr 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate indicate issues/PRs that are duplicates of another type::bug describes erroneous operation, use severity::* to classify the type
Projects
Archived in project
Development

No branches or pull requests