window에서 anaconda3 에서 conda install 시 HTTPSConnectionPool 에러 해결

햄스터아저씨·2023년 4월 8일
0

발생에러

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

Exception: HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/win-64/current_repodata.json (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))

해결책

아나콘다를 설치한 path로 간다.
그곳에서 anaconda3>Library>bin 에서 아래 2개 파일을 찾는다.

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

위 두 파일을 anaconda3>DLLs 로 복사한다.
이후 conda install 을 시도해보고, 해결되지 않으면 재시작 후 시도해본다.

링크
https://github.com/conda/conda/issues/11982#issuecomment-1285929629

profile
서버도 하고 웹도 하고 시스템이나 인프라나 네트워크나 그냥 다 함.

0개의 댓글