본문 바로가기

개발/유지보수

[Linux][pip] CERTIFICATE_VERIFY_FAILED certificate verify failed 오류 해결

반응형

pip install을 하려는데 아래와 같은 로그가 남으면서 실패했다..

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)'),)'

이럴땐 --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org 옵션을 붙혀서 다시 명령을 내려보자!

- 참고한 문서

https://github.com/pypa/pip/issues/5288

 

SSL Error on pip installations Win7 x64 · Issue #5288 · pypa/pip

I currently get the following error when installing ANY package via pip (this is just a single example). I'm running Anaconda on Windows 7 behind a corporate proxy. I've tried turning off S...

github.com

 

반응형