728x90
오류가 발생한 경위
과거 Jupyter notebook 확장 플러그인 중 nbtextensions를 설치하다가 갑자기 jupyter notebook이 먹통이 되어버린 적이 있었다. 이때 Jupyter notebook을 삭제하고 재실행해봐도 여전히 오류가 발생했었는데 이를 해결하게 되어서 관련 솔루션을 공유하고자한다.
nbextensions 설치 후 발생한 오류 해결
Traceback (most recent call last):
...
ModuleNotFoundError: No module named 'jupyter_server.contents'
Traceback (most recent call last):
...
TypeError: warn() missing 1 required keyword-only argument: 'stacklevel'
Solution 코드 :
pip install --force-reinstall -v "traitlets<5.10"
- Reference : https://github.com/jupyterhub/jupyterhub/issues/4418
인스타 주소 🎗
반응형
'Programming > IDE' 카테고리의 다른 글
[matplotlib] %matplotlib inline 을 사용하는 이유 (0) | 2023.04.06 |
---|---|
[json ↔ ipynb] 파일이 이상하게 저장되어 있을 때 (0) | 2023.04.02 |
[Jupyter] Shell Command ( + 편리 ) (0) | 2022.10.06 |
[Jupyter] Magic Command ( + 편리 ) (0) | 2022.10.06 |
[Windows] 특정 폴더에서 CMD 바로 실행하는 방법 (0) | 2022.10.04 |