Traceback (most recent call last):
File "C:\ProgramData\anaconda3\Lib\site-packages\notebook\traittypes.py", line 235, in _resolve_classes
klass = self._resolve_string(klass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\traitlets.py", line 2018, in _resolve_string
return import_item(string)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\utils\importstring.py", line 31, in import_item
module = __import__(package, fromlist=[obj])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'jupyter_server.contents'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\anaconda3\Scripts\jupyter-notebook-script.py", line 10, in
sys.exit(main())
^^^^^^
File "C:\ProgramData\anaconda3\Lib\site-packages\jupyter_core\application.py", line 277, in launch_instance
return super().launch_instance(argv=argv, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\config\application.py", line 1051, in launch_instance
app = cls.instance(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\config\configurable.py", line 583, in instance
inst = cls(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\traitlets.py", line 1294, in __new__
inst.setup_instance(*args, **kwargs)
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\traitlets.py", line 1337, in setup_instance
super(HasTraits, self).setup_instance(*args, **kwargs)
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\traitlets.py", line 1313, in setup_instance
init(self)
File "C:\ProgramData\anaconda3\Lib\site-packages\notebook\traittypes.py", line 226, in instance_init
self._resolve_classes()
File "C:\ProgramData\anaconda3\Lib\site-packages\notebook\traittypes.py", line 238, in _resolve_classes
warn(f"{klass} is not importable. Is it installed?", ImportWarning)
TypeError: warn() missing 1 required keyword-only argument: 'stacklevel'
Traceback (most recent call last):
File "C:\ProgramData\anaconda3\Lib\site-packages\notebook\traittypes.py", line 235, in _resolve_classes
klass = self._resolve_string(klass)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\traitlets.py", line 2018, in _resolve_string
return import_item(string)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\utils\importstring.py", line 31, in import_item
module = __import__(package, fromlist=[obj])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'jupyter_server.contents'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\anaconda3\Scripts\jupyter-notebook-script.py", line 10, in
sys.exit(main())
^^^^^^
File "C:\ProgramData\anaconda3\Lib\site-packages\jupyter_core\application.py", line 277, in launch_instance
return super().launch_instance(argv=argv, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\config\application.py", line 1051, in launch_instance
app = cls.instance(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\config\configurable.py", line 583, in instance
inst = cls(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\traitlets.py", line 1294, in __new__
inst.setup_instance(*args, **kwargs)
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\traitlets.py", line 1337, in setup_instance
super(HasTraits, self).setup_instance(*args, **kwargs)
File "C:\Users\pytho\AppData\Roaming\Python\Python311\site-packages\traitlets\traitlets.py", line 1313, in setup_instance
init(self)
File "C:\ProgramData\anaconda3\Lib\site-packages\notebook\traittypes.py", line 226, in instance_init
self._resolve_classes()
File "C:\ProgramData\anaconda3\Lib\site-packages\notebook\traittypes.py", line 238, in e_resolve_classes
warn(f"{klass} is not importable. Is it installed?", ImportWarning)
TypeError: warn() missing 1 required keyword-only argument: 'stacklevel'
unable to launch jupyter notebook from Anaconda
© 2022 - 2024 — McMap. All rights reserved.
C:\Users\pytho\AppData\Roaming\Python\Python311
) and (C:\ProgramData\anaconda3
) you know that something odd happens. I would suggest to remove the first python installation and try again – Zeringue