Programming Languages/Python

[Python/anaconda3] Pip SSL 에러가 날 때

Hannana. 2022. 7. 19. 14:01
반응형

warning: pip is configured with locations that require tls/ssl, however the ssl module in python is not available. could not fetch url https://pypi.org/simple/pip/: there was a problem confirming the ssl certificate: httpsconnectionpool(host='pypi.org', port=443): max retries exceeded with url: /simple/pip/ (caused by sslerror("can't connect to https url because the ssl module is not available.")) - skipping

 

pip로 패키지를 설치하려고 하니 위 에러가 떴다.

분명 잘되었던 것 같은데 갑자기?

전에도 해당 에러가 뜬 적 있었고, 분명 해결한 기억이 있는데

아무리 구글링을 해서 여러 방법을 시도해봐도 해결이 안되는 것..

 

그리고 내가 해결 본 방법을 공유하고자 한다.

 

1. C:\Users\(본인)\Anaconda3\Library\bin 경로 들어감

2. 아래 4개 파일 복사

libcrypto-1_1-x64.dll

libcrypto-1_1-x64.pdb

libssl-1_1-x64.dll

libssl-1_1-x64.pdb

3. C:\Users\(본인)\Anaconda3\DLLs 에 붙여넣기

4. 해결 완료!! 

너무나 반가운 pip install 작동 모습

 

 

 

출처 https://late90.tistory.com/69

 

PIP/Anaconda SSL ERROR 해결하기:

 PIP/Anaconda SSL ERROR 해결하기:방법 1. crypto/ssl dll 파일 복사 C:\Users\%USERNAME%\Anaconda3\Library\bin 경로 열기 다음 네 가지 파일들을 복사 libcrypto-1_1-x64.dll libcrypto-1_1-x64..

late90.tistory.com

 

 

반응형

'Programming Languages > Python' 카테고리의 다른 글

알바 프로그램  (0) 2022.02.08