# Problem with integration of JupyterHub with openBIS

**URL:** https://community.openbis.ch/t/problem-with-integration-of-jupyterhub-with-openbis/160
**Category:** Installation & maintenance
**Created:** [13 April 2023 11:17 UTC](https://community.openbis.ch/t/problem-with-integration-of-jupyterhub-with-openbis/160 "2023-04-13T11:17:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tomreclik](https://avatars.discourse-cdn.com/v4/letter/t/aeb1de/32.png) [@tomreclik](https://community.openbis.ch/u/tomreclik)
#### Post date: [13 April 2023 11:17 UTC](https://community.openbis.ch/t/problem-with-integration-of-jupyterhub-with-openbis/160/1 "2023-04-13T11:17:12Z")

</div>

Hello,

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

```auto
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](https://hub.docker.com/r/openbis/jupyterhub-openbis). I get the following error

```auto
#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.

```auto
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

```auto
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
