Conda 가상환경 생성시 An HTTP error occurred when trying to retrieve this URL 오류

하스레·2023년 5월 6일
0

오류 설명

conda create env -n ml_study python=3.9로 새로운 가상환경을 생성하려고 하자 다음과 같은 에러가 발생했다.

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/conda-forge/osx-arm64/python-3.9.16-hea58f1e_0_cpython.conda>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

오류 해결

ssl 관련 오류로, 다음과 같이 ssl로 인증하지 말라는 명령어를 입력한 뒤, 다시 생성하자 잘 동작하였다.

conda config --set ssl_verify no

HTTPS vs SSL vs TLS


참고
https://nonstop-antoine.tistory.com/38

profile
Software Developer

0개의 댓글