Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyterlab/labhubapp.py", line 19, in from jupyterhub.singleuser.mixins import make_singleuser_app ModuleNotFoundError: No module named 'jupyterhub' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/jupyterlab/labhubapp.py", line 23, in from jupyterhub.singleuser import SingleUserNotebookApp as SingleUserServerApp ModuleNotFoundError: No module named 'jupyterhub' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/bin/jupyter-labhub", line 3, in from jupyterlab.labhubapp import main File "/usr/lib/python3.12/site-packages/jupyterlab/labhubapp.py", line 42, in raise ImportError(error_msg) from e ImportError: JupyterHub is not installed and is required to run this application. Current Python environment: /usr Python sys.path entries searched: - /usr/bin - /usr/lib/python312.zip - /usr/lib/python3.12 - /usr/lib/python3.12/lib-dynload - /usr/lib/python3.12/site-packages To fix this issue, install jupyterhub: pip install jupyterhub Original error: No module named 'jupyterhub'