Problem with integration of JupyterHub with openBIS

Hello,

I am currently trying to set up a Docker image with JupyterHub communicating with openBIS. When building my Docker image, I run

pip install --upgrade --no-cache-dir jupyter-openbis-extension==0.6.0
jupyter serverextension enable --py jupyter-openbis-extension

analogously to the Docker image at Docker. I get the following error

#13 83.41 Traceback (most recent call last):
#13 83.41   File "/vagrant_installation/miniconda3/bin/jupyter-serverextension", line 10, in <module>
#13 83.41     sys.exit(main())
#13 83.41   File "/vagrant_installation/miniconda3/lib/python3.10/site-packages/jupyter_core/application.py", line 277, in launch_instance
#13 83.41     return super().launch_instance(argv=argv, **kwargs)
#13 83.41   File "/vagrant_installation/miniconda3/lib/python3.10/site-packages/traitlets/config/application.py", line 1043, in launch_instance
#13 83.41     app.start()
#13 83.41   File "/vagrant_installation/miniconda3/lib/python3.10/site-packages/notebook/serverextensions.py", line 289, in start
#13 83.41     super().start()
#13 83.41   File "/vagrant_installation/miniconda3/lib/python3.10/site-packages/jupyter_core/application.py", line 266, in start
#13 83.41     self.subapp.start()
#13 83.41   File "/vagrant_installation/miniconda3/lib/python3.10/site-packages/notebook/serverextensions.py", line 208, in start
#13 83.41     self.toggle_server_extension_python(arg)
#13 83.41   File "/vagrant_installation/miniconda3/lib/python3.10/site-packages/notebook/serverextensions.py", line 197, in toggle_server_extension_python
#13 83.41     m, server_exts = _get_server_extension_metadata(package)
#13 83.41   File "/vagrant_installation/miniconda3/lib/python3.10/site-packages/notebook/serverextensions.py", line 323, in _get_server_extension_metadata
#13 83.41     m = import_item(module)
#13 83.41   File "/vagrant_installation/miniconda3/lib/python3.10/site-packages/traitlets/utils/importstring.py", line 38, in import_item
#13 83.41     return __import__(parts[0])
#13 83.41 ModuleNotFoundError: No module named 'jupyter-openbis-extension'

In order to replicate the error, I have created a virtual environment, where I only install Jupyter and jupyter-openbis-extension.

python3 -m venv venv
source venv/bin/activate
pip install jupyter
pip install jupyter-openbis-extension
jupyter serverextension enable --py jupyter-openbis-extension

This results in the same error. So does running

jupyter serverextension enable --py jupyter-openbis-extension

I am using Python 3.10.6, Jupyter 1.0.0, jupyter-openbis-extension 0.6.0.
Does anyone have an idea how to solve this problem?

Best regards
Tom Reclik