본문 바로가기

Face to something/python

해결)Jupyter notebook does not launch due to ssl error in windows

근래 나는 구글에 아래와 같은 영문을 검색해댔다.

이유는 잘 되던 jupyter notebook이 갑자기 실행시키면 바로 꺼지고,

cmd 창에서 jupyter notebook을 검색하면 에러가 났기 때문이다.

python 입문자라 관련에러는 잘 모르겠지만 Anaconda 재설치만 2번해봤고, 결과는 똑같았다.

다른 명령으로 해도 무조건 ssl 에러만 뱉으니...답이 없었다.

 

 

max retries exceeded with url: /simple/pip/ (caused by sslerror("can't connect to https url because the ssl module is not available. in windows

warning: pip is configured with locations that require tls/ssl, however the ssl module in python is not available.

 

dll load failed 지정된 프로시저를 찾을 수 없습니다

 

traceback (most recent call last): file "d:\anaconda3\scripts\jupyter-notebook-script.py", line 6, in  from notebook.notebookapp import main

 

다행히 해결했는데, 그 방법을 공유하고싶어 글을 쓴다 ㅠㅠ

몇시간을 해맸고 결국엔 openssl 패키지가 없어서 생긴오류라는것을 알고,

openssl.exe파일을 설치했다. 

 

아래의 경로에서 자기 기기에 맞는 환경을 다운로드하고, exe를 실행시킨다.

https://slproweb.com/products/Win32OpenSSL.html

필자는 Win64OpenSSL_Light-1_1_1d.exe를 실행시켜 설치함.

 

그리고 다시 

jupyter notebook 을 실행시키면 정상적으로 실행됨을 알수있다 ㅠㅠ