본문 바로가기
개발이야기/Python

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

by Kim_Jack 2023. 2. 26.
반응형

 

아나콘다 가상환경에서 패키지를 받으려고 하는데 

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

 

다음과 같은 에러가 출력되는 경우가 있다.

SSL 연결 오류로 인해서 패키지 레파지토리에 접근을 못하는 것처럼 보인다. 

 

구글링 해보면 다양한 해결방법들이 나온다.

conda config -set ssl_verify false

다음 키워드를 설정해서 SSL인증을 하지 않도록 하는 방법이나 openssl로 인증서를 만들어서 통신한다거나.. 등등 

 

이것저것 해봤지만 해결되지가 않았는데 아나콘다 공식 홈페이지에 관련 오류에 대한 내용이 있었다.

https://docs.conda.io/projects/conda/en/latest/user-guide/troubleshooting.html#validationerror-invalid-value-for-timestamp

 

Troubleshooting — conda 23.1.0.post47+598bc26e4 documentation

Run the command conda install -f to unarchive the package again and relink it. It also does an MD5 verification on the package. Usually if this is different it is because your channels have changed and there is a different package with the same name, versi

docs.conda.io

 

 

아나콘다 파일들 경로를 환경변수에 세팅해 주면 된다.

 

반응형

댓글