Kernel error : TypeError: _kernel_spec_manager_changed()

I installed tljh on a fresh install of ubuntu server 20.04. The default install of python is 3.8.5 for me. It works fine exept the kernel won’t start with the following error :

Traceback (most recent call last):
File “/opt/tljh/user/lib/python3.7/site-packages/tornado/web.py”, line 1592, in _execute
result = yield result
File “/opt/tljh/user/lib/python3.7/site-packages/tornado/gen.py”, line 1133, in run
value = future.result()
File “/opt/tljh/user/lib/python3.7/site-packages/tornado/gen.py”, line 1141, in run
yielded = self.gen.throw(*exc_info)
File “/opt/tljh/user/lib/python3.7/site-packages/notebook/services/sessions/handlers.py”, line 72, in post
type=mtype))
File “/opt/tljh/user/lib/python3.7/site-packages/tornado/gen.py”, line 1133, in run
value = future.result()
File “/opt/tljh/user/lib/python3.7/site-packages/tornado/gen.py”, line 1141, in run
yielded = self.gen.throw(*exc_info)
File “/opt/tljh/user/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py”, line 88, in create_session
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File “/opt/tljh/user/lib/python3.7/site-packages/tornado/gen.py”, line 1133, in run
value = future.result()
File “/opt/tljh/user/lib/python3.7/site-packages/tornado/gen.py”, line 1141, in run
yielded = self.gen.throw(*exc_info)
File “/opt/tljh/user/lib/python3.7/site-packages/notebook/services/sessions/sessionmanager.py”, line 101, in start_kernel_for_session
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File “/opt/tljh/user/lib/python3.7/site-packages/tornado/gen.py”, line 1133, in run
value = future.result()
File “/opt/tljh/user/lib/python3.7/site-packages/notebook/services/kernels/kernelmanager.py”, line 176, in start_kernel
kernel_id = await maybe_future(self.pinned_superclass.start_kernel(self, **kwargs))
File “/opt/tljh/user/lib/python3.7/site-packages/jupyter_client/multikernelmanager.py”, line 184, in start_kernel
km, kernel_name, kernel_id = self.pre_start_kernel(kernel_name, kwargs)
File “/opt/tljh/user/lib/python3.7/site-packages/jupyter_client/multikernelmanager.py”, line 172, in pre_start_kernel
**constructor_kwargs
File “/opt/tljh/user/lib/python3.7/site-packages/jupyter_client/multikernelmanager.py”, line 83, in create_kernel_manager
km = kernel_manager_ctor(*args, **kwargs)
File “/opt/tljh/user/lib/python3.7/site-packages/traitlets/config/configurable.py”, line 82, in init
super(Configurable, self).init(**kwargs)
File “/opt/tljh/user/lib/python3.7/site-packages/traitlets/traitlets.py”, line 1080, in init
super_kwargs[key] = value
File “/opt/tljh/user/lib/python3.7/contextlib.py”, line 119, in exit
next(self.gen)
File “/opt/tljh/user/lib/python3.7/site-packages/traitlets/traitlets.py”, line 1214, in hold_trait_notifications
self.notify_change(change)
File “/opt/tljh/user/lib/python3.7/site-packages/traitlets/traitlets.py”, line 1227, in notify_change
return self._notify_observers(change)
File “/opt/tljh/user/lib/python3.7/site-packages/traitlets/traitlets.py”, line 1264, in _notify_observers
c(event)
File “/opt/tljh/user/lib/python3.7/site-packages/traitlets/traitlets.py”, line 888, in compatible_observer
return func(self, change)
TypeError: _kernel_spec_manager_changed() takes 1 positional argument but 2 were given

What am I supposed to do ? Do I have to install another version of python (3.7 ?).

Thanks for your help

Did you find anything to fix this? I have the exact same error.

I, finaly found a way to make the kernel working.

Maybe I am lucky and it is not the right solution but my jupyter kernel is working.