728x90
반응형
보통 사내망에서 pip으로 라이브러리를 설치하면 발생하는 문제이다.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))': /simple/pandas
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))': /simple/pandas
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))': /simple/pandas
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))': /simple/pandas
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)'))': /simple/pandas
Could not fetch URL https://pypi.org/simple/pandas/: There was a problem confirming the ssl certificate: HTTPSConnection Pool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pandas/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:719)')) - skipping
아래와 같이 옵션을 추가하면 설치가 가능하다.
pip install [설치할 라이브러리] --trusted-host pypi.org --trusted-host files.pythonhosted.org
728x90
반응형
'Software > Python' 카테고리의 다른 글
[Pycharm] 파이참에서 터미널 (powershell -> cmd) 변경하기 (0) | 2023.11.13 |
---|---|
모듈화하기 (0) | 2023.11.12 |
모듈 vs. 패키지 vs. 라이브러리 (0) | 2023.11.11 |
[웹스크래핑] Selenium(셀레니움) 기본 코드 (0) | 2023.01.30 |
Selenium(셀레니움) 브라우저 꺼짐 현상 (4) | 2023.01.30 |
댓글