나는야 데이터사이언티스트/PYTHON Trouble Shooting

[JupyterLab]주피터랩 실행 안될때

우주먼지의하루 2023. 1. 17. 22:19
728x90

<오류메세지>

C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\notebookapp.py:73: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
_("Don't open the notebook in a browser after startup.")
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\notebookapp.py:89: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
_("Allow the notebook to be run from root user.")
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\traits.py:20: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_('Deprecated: Use minified JS file or not, mainly use during dev to avoid JS recompilation'),
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\traits.py:25: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("Supply extra arguments that will be passed to Jinja environment."))
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\traits.py:29: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("Extra variables to supply to jinja templates when rendering."),
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\traits.py:62: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("""Path to search for custom.js, css""")
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\traits.py:74: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("""Extra paths to search for serving jinja templates.
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\traits.py:85: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("""extra paths to look for Javascript notebook extensions""")
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\traits.py:130: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("""The MathJax.js configuration file that is to be used.""")
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\traits.py:143: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=(_("Dict of Python modules to load as notebook server extensions."
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\notebookapp.py:122: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
description = _("""The Jupyter HTML Notebook.
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\notebookapp.py:143: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("""Path to search for custom.js, css""")
C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\notebookapp.py:155: FutureWarning: The alias `_()` will be deprecated. Use `_i18n()` instead.
help=_("""extra paths to look for Javascript notebook extensions""")
[I 2022-02-13 18:11:53.842 ServerApp] jupyterlab | extension was successfully linked.
[W 2022-02-13 18:11:54.449 ServerApp] 'ExtensionManager' object has no attribute '_extensions'
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\envs\Environment_1\Scripts\jupyter-lab-script.py", line 9, in 
sys.exit(main())
File "C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\jupyter_server\extension\application.py", line 567, in launch_instance
serverapp = cls.initialize_server(argv=args)
File "C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\jupyter_server\extension\application.py", line 537, in initialize_server
serverapp.initialize(
File "C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\traitlets\config\application.py", line 88, in inner
return method(app, *args, **kwargs)
File "C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\jupyter_server\serverapp.py", line 2341, in initialize
point = self.extension_manager.extension_points[starter_extension]
File "C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\jupyter_server\extension\manager.py", line 303, in extension_points
for value in self.extensions.values()
File "C:\ProgramData\Anaconda3\envs\Environment_1\lib\site-packages\nbclassic\nbserver.py", line 80, in extensions
nb = self._extensions.get("nbclassic")
AttributeError: 'ExtensionManager' object has no attribute '_extensions'

 

 

주피터랩 진짜 말썽...

오랜만에 열어보려했더니 갑자기 오류메세지 나면서 안열린다

 

 

확인해보니 nbclassic이 최신버전이어야하는거같다

 

아나콘다 프롬프트를 관리자 권한으로 열고 아래 구문으로 설치!

나는 0.4.8이 가장 최신버전이라 이걸 설치했다.

 

<설치 구문>

conda install nbclassic==0.4.8

 

 

<최신 버전 확인>>

https://pypi.org/project/nbclassic/

 

nbclassic

A web-based notebook environment for interactive computing

pypi.org

 

 

짜잔~ 이제 열림

 

반응형