1. Error


CondaSSLError: OpenSSL appears to be unavailable on this machine. OpenSSL is required to download and install packages. Exception: HTTPConnectionPool(host=’reop.anaconda.com’, port=443): Max retries exceeded with url: /pkgs/main/win-64/setuptools-65.6.3-py310haa95532_0.conda (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”))

  When I install packages in Anaconda env, CondaSSLError appears.



2. Solution


  1. Go to the directory anaconda3/Library/bin/.
  2. Copy four files below.

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

  3. Paste the files in anaconda3/DLLs/.
  4. Add anaconda3/Library/bin/ path to environment variable.



Refers


stack overflow, “Any conda or pip operation give SSL Error in windows 10”
딥러닝 메모장, anaconda SSL 오류 해결