반응형
[Ubuntu & Linux] 주피터 노트북(jupyter notebook) 실행 시 에러 TypeError: __init__() got an unexpected keyword argument 'registry' 해결방법
우분투 서버에 주피터 노트북을 설치 후 실행했더니 아래와 같은 에러가 발생하였다.
OS 버전은 Ubuntu 20.04, Python은 3.8.10 이다.
확인을 해보니 패키지 버전이 안맞아서 그런거라 최신버전으로 업데이트 해주어 쉽게 해결했다.
Traceback (most recent call last):
File "/home/drsong/.local/bin/jupyter-notebook", line 5, in <module>
from notebook.app import main
File "/home/drsong/.local/lib/python3.8/site-packages/notebook/app.py", line 17, in <module>
from jupyter_server.serverapp import flags
File "/home/drsong/.local/lib/python3.8/site-packages/jupyter_server/serverapp.py", line 39, in <module>
from jupyter_events.logger import EventLogger
File "/home/drsong/.local/lib/python3.8/site-packages/jupyter_events/__init__.py", line 3, in <module>
from .logger import EVENTS_METADATA_VERSION, EventLogger
File "/home/drsong/.local/lib/python3.8/site-packages/jupyter_events/logger.py", line 19, in <module>
from .schema import SchemaType
File "/home/drsong/.local/lib/python3.8/site-packages/jupyter_events/schema.py", line 18, in <module>
from .validators import draft7_format_checker, validate_schema
File "/home/drsong/.local/lib/python3.8/site-packages/jupyter_events/validators.py", line 44, in <module>
JUPYTER_EVENTS_SCHEMA_VALIDATOR = Draft7Validator(
TypeError: __init__() got an unexpected keyword argument 'registry'
해결방법
$ pip install --upgrade matplotlib seaborn
패키지 업데이트 이후 Jupyter Notebook 재설치
$ pip install --upgrade jupyter
728x90
반응형
'여러가지 > Ubuntu & Linux' 카테고리의 다른 글
[Ubuntu & Linux] 타임존 한국시간으로 변경하는 방법 !! (0) | 2024.08.30 |
---|---|
[Ubuntu & Linux] cuda 및 nvidia 설치제거 방법 !! (패키지 삭제) (0) | 2024.08.13 |
[Ubuntu & Linux ] nohup과 systemd 의 장단점과 차이점 (0) | 2024.07.11 |
[Ubuntu & Linux ] 우분투 시스템 시간대(timezone) 변경하는 방법 !! (0) | 2024.05.10 |
[Ubuntu & Linux] 우분투20.04에서 nginx 완전히 삭제하는 방법 !! (0) | 2024.04.01 |
댓글