Hi everyone,
I have this strange error when open jupyter-lab:
jupyter_server_terminals | error adding extension (enabled: True): Jupyter Server Terminals requires Jupyter Server 2.0+
Traceback (most recent call last):
File "/home/commodo98/.local/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 320, in add_extension
extpkg = ExtensionPackage(name=extension_name, enabled=enabled)
File "/home/commodo98/.local/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 166, in __init__
super().__init__(*args, **kwargs)
File "/home/commodo98/.local/lib/python3.10/site-packages/traitlets/traitlets.py", line 1361, in __init__
value = self._traits[key]._cross_validate(self, getattr(self, key))
File "/home/commodo98/.local/lib/python3.10/site-packages/traitlets/traitlets.py", line 746, in _cross_validate
value = obj._trait_validators[self.name](obj, proposal)
File "/home/commodo98/.local/lib/python3.10/site-packages/traitlets/traitlets.py", line 1233, in __call__
return self.func(*args, **kwargs)
File "/home/commodo98/.local/lib/python3.10/site-packages/jupyter_server/extension/manager.py", line 175, in _validate_name
self._module, self._metadata = get_metadata(name)
File "/home/commodo98/.local/lib/python3.10/site-packages/jupyter_server/extension/utils.py", line 60, in get_metadata
module = importlib.import_module(package_name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/commodo98/.local/lib/python3.10/site-packages/jupyter_server_terminals/__init__.py", line 9, in <module>
raise RuntimeError("Jupyter Server Terminals requires Jupyter Server 2.0+")
RuntimeError: Jupyter Server Terminals requires Jupyter Server 2.0+
I don’t know how to update to jupyter Server 2.0+, someone can help me?