Installation issue involving jupyter

An error is raised when installing BioDynaMo, in this case using Ubuntu 20.04:

[ 96%] Built target copy_files_bdm
[NbConvertApp] WARNING | Config option template_path not recognized by HTMLExporter. Did you mean one of: extra_template_paths, template_name, template_paths?
Traceback (most recent call last):
File “/home/dcs/.pyenv/versions/3.8.0/bin/jupyter-nbconvert”, line 10, in
sys.exit(main())
File “/home/dcs/.pyenv/versions/3.8.0/lib/python3.8/site-packages/jupyter_core/application.py”, line 254, in launch_instance
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
File “/home/dcs/.pyenv/versions/3.8.0/lib/python3.8/site-packages/traitlets/config/application.py”, line 845, in launch_instance
app.start()
File “/home/dcs/.pyenv/versions/3.8.0/lib/python3.8/site-packages/nbconvert/nbconvertapp.py”, line 350, in start
self.convert_notebooks()
File “/home/dcs/.pyenv/versions/3.8.0/lib/python3.8/site-packages/nbconvert/nbconvertapp.py”, line 519, in convert_notebooks
self.exporter = cls(config=self.config)
File “/home/dcs/.pyenv/versions/3.8.0/lib/python3.8/site-packages/nbconvert/exporters/templateexporter.py”, line 325, in init
super().init(config=config, **kw)
File “/home/dcs/.pyenv/versions/3.8.0/lib/python3.8/site-packages/nbconvert/exporters/exporter.py”, line 114, in init
self._init_preprocessors()
File “/home/dcs/.pyenv/versions/3.8.0/lib/python3.8/site-packages/nbconvert/exporters/templateexporter.py”, line 490, in _init_preprocessors
super()._init_preprocessors()
File “/home/dcs/.pyenv/versions/3.8.0/lib/python3.8/site-packages/nbconvert/exporters/exporter.py”, line 266, in _init_preprocessors
self.register_preprocessor(preprocessor, enabled=True)
File “/home/dcs/.pyenv/versions/3.8.0/lib/python3.8/site-packages/nbconvert/exporters/exporter.py”, line 227, in register_preprocessor
preprocessor_cls = import_item(preprocessor)
File “/home/dcs/.pyenv/versions/3.8.0/lib/python3.8/site-packages/traitlets/utils/importstring.py”, line 30, in import_item
module = import(package, fromlist=[obj])
ModuleNotFoundError: No module named ‘jupyter_contrib_nbextensions’
NOTEBOOK_CONVERSION_ERROR: nbconvert failed for notebook diffusion.ipynb with return code 1
FAILED COMMAND: jupyter nbconvert --to=html --ExecutePreprocessor.timeout=60 --execute /tmp/tmp.LEeY6l4sCG/biodynamo/build/notebooks/diffusion/diffusion.ipynb
make[2]: *** [CMakeFiles/notebook-diffusion.dir/build.make:80: CMakeFiles/notebook-diffusion] Error 1
make[1]: *** [CMakeFiles/Makefile2:243: CMakeFiles/notebook-diffusion.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
Scanning dependencies of target VisualizationAdaptor
[ 96%] Building CXX object CMakeFiles/VisualizationAdaptor.dir/src/core/visualization/paraview/parallel_vti_writer.cc.o
[ 96%] Building CXX object CMakeFiles/VisualizationAdaptor.dir/src/core/visualization/paraview/helper.cc.o
[ 97%] Building CXX object CMakeFiles/VisualizationAdaptor.dir/src/core/visualization/paraview/parallel_vtu_writer.cc.o
[ 98%] Building CXX object CMakeFiles/VisualizationAdaptor.dir/src/core/visualization/paraview/adaptor.cc.o
[ 98%] Building CXX object CMakeFiles/VisualizationAdaptor.dir/src/core/visualization/paraview/vtk_agents.cc.o
[ 98%] Building CXX object CMakeFiles/VisualizationAdaptor.dir/src/core/visualization/paraview/vtk_diffusion_grid.cc.o
[100%] Building CXX object CMakeFiles/VisualizationAdaptor.dir/libVisualizationAdaptor_dict.cc.o
[100%] Building CXX object CMakeFiles/VisualizationAdaptor.dir/libVisualizationAdaptor_bdm_dict.cc.o
[100%] Linking CXX shared library lib/libVisualizationAdaptor.so
[100%] Built target VisualizationAdaptor
make: *** [Makefile:149: all] Error 2
Something went wrong with the installation. For more details check the log file: /tmp/tmp.LEeY6l4sCG/biodynamo/installation.log

The actual error seems to be this line:

ModuleNotFoundError: No module named ‘jupyter_contrib_nbextensions’

I expect somehow a configuration file in one of the default jupyter locations tries to include this module. Could you follow the solution mentioned here: https://github.com/jupyter/nbconvert/issues/526#issuecomment-277552771