Study/Etc.

[JUPYTER] 주피터 노트북 실행 시 500 번 오류 (500: Internal Server Error)

빨간당무 2019. 3. 26. 18:07

Jupyter 노트북을 실행해서 notebook를 선택하니 아래와 같은 오류가 발생하였다. 

에러 로그를 보니 아래와 같은 문구가 있었다.

AttributeError: module 'tornado.web' has no attribute 'asynchronous'

위와 같은 오류 메세지가 있다. tornado.web 모듈의 문제이다. 

해당 문제를 처리하는 방법은 stackoverflow에 나와있다. 

Python 만 설치한 경우에는 

pip install --upgrade nbconvert

Anaconda 환경인 경우에는

condcon upgrade nbconvert 

와 같이 수행후 주피터 노트북을 재실행하면 된다.

Ref. https://stackoverflow.com/questions/55013206/how-can-i-fix-500-internal-server-error-on-jupyter-notebook-due-to-tornado