1 | $ jupyter-3.12 notebook |
---|
2 | Traceback (most recent call last): |
---|
3 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/notebook/traittypes.py", line 235, in _resolve_classes |
---|
4 | klass = self._resolve_string(klass) |
---|
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
---|
6 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/traitlets/traitlets.py", line 2015, in _resolve_string |
---|
7 | return import_item(string) |
---|
8 | ^^^^^^^^^^^^^^^^^^^ |
---|
9 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/traitlets/utils/importstring.py", line 33, in import_item |
---|
10 | module = __import__(package, fromlist=[obj]) |
---|
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
---|
12 | ModuleNotFoundError: No module named 'jupyter_server.contents' |
---|
13 | |
---|
14 | During handling of the above exception, another exception occurred: |
---|
15 | |
---|
16 | Traceback (most recent call last): |
---|
17 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/jupyter-notebook", line 8, in <module> |
---|
18 | sys.exit(main()) |
---|
19 | ^^^^^^ |
---|
20 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/jupyter_core/application.py", line 277, in launch_instance |
---|
21 | return super().launch_instance(argv=argv, **kwargs) |
---|
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
---|
23 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/traitlets/config/application.py", line 1073, in launch_instance |
---|
24 | app = cls.instance(**kwargs) |
---|
25 | ^^^^^^^^^^^^^^^^^^^^^^ |
---|
26 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/traitlets/config/configurable.py", line 583, in instance |
---|
27 | inst = cls(*args, **kwargs) |
---|
28 | ^^^^^^^^^^^^^^^^^^^^ |
---|
29 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/traitlets/traitlets.py", line 1292, in __new__ |
---|
30 | inst.setup_instance(*args, **kwargs) |
---|
31 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/traitlets/traitlets.py", line 1335, in setup_instance |
---|
32 | super(HasTraits, self).setup_instance(*args, **kwargs) |
---|
33 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/traitlets/traitlets.py", line 1311, in setup_instance |
---|
34 | init(self) |
---|
35 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/notebook/traittypes.py", line 226, in instance_init |
---|
36 | self._resolve_classes() |
---|
37 | File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/notebook/traittypes.py", line 238, in _resolve_classes |
---|
38 | warn(f"{klass} is not importable. Is it installed?", ImportWarning) |
---|
39 | TypeError: warn() missing 1 required keyword-only argument: 'stacklevel' |
---|