본문 바로가기
Python

Python 인증서 오류 해결 - SSLError SSLCertVerificationError CERTIFICATE_VERIFY_FAILED

by 올엠 2022. 7. 29.
반응형

아래 명령을 이용해서 pip 사용시 신뢰하는 호스트를 추가하도록 하자.

python3 -m pip config set global.trusted-host=pypi.org files.pythonhosted.org

 

이후  설정이 잘 적용 되었는지 pip 설정을 확인하면 된다.

pip config list

 

댓글0