[TIL] pip install 설치 오류

Captainjack·2023년 7월 28일
0

TIL

목록 보기
254/258

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: unable to get local issuer certificate (_ssl.c:1002)'))': /simple/requests/

인증관련 오류

특정 모듈만 인증 우회해서 설치하기

pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org requests

설정 자체를 바꾸기

C:\Users\{ADMIN}\AppData\Roaming\pip 폴더에

pip.ini 파일 수정

[global]
proxy = http://ip
trusted-host = pypi.org
               files.pythonhosted.org

설정 후

python -m pip install --upgrade pip

확인

profile
til' CTF WIN

1개의 댓글

comment-user-thumbnail
2023년 7월 28일

유익한 글이었습니다.

답글 달기