Conda environment creation fails due to notebook version incompatibilities
Hello!
When doing a fresh clone of the repository and creating the conda environment following the instructions with
conda env create -f environment.yml
the environment cannot be created and it crashes (trace see below). There seems to be some incompatibilites with jupyter notebook versions >7.
I could succesfully create the environment by fixing the version of notebook in the .yml
- notebook<=6.5.3
Cheers, Sebastian
Downloading and Extracting Packages:
Preparing transaction: done Verifying transaction: done Executing transaction: | /
- Traceback (most recent call last):
File "/home/sebastian/.conda/envs/hls4ml-tutorial/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 6, in
from notebook.extensions import BaseExtensionApp ModuleNotFoundError: No module named 'notebook.extensions'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sebastian/.conda/envs/hls4ml-tutorial/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 10, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "
/ Traceback (most recent call last):
File "/home/sebastian/.conda/envs/hls4ml-tutorial/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 6, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sebastian/.conda/envs/hls4ml-tutorial/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 10, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "
| Traceback (most recent call last):
File "/home/sebastian/.conda/envs/hls4ml-tutorial/bin/jupyter-nbextensions_configurator", line 6, in
/ Traceback (most recent call last):
File "/home/sebastian/.conda/envs/hls4ml-tutorial/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 6, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sebastian/.conda/envs/hls4ml-tutorial/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 10, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sebastian/.conda/envs/hls4ml-tutorial/bin/jupyter-contrib-nbextension", line 6, in
done ERROR conda.core.link:_execute(1029): An error occurred while installing package 'conda-forge::jupyter_highlight_selected_word-0.2.0-py310hff52083_1005'. Rolling back transaction: done
LinkError: post-link script failed for package conda-forge::jupyter_highlight_selected_word-0.2.0-py310hff52083_1005
location of failed script: /home/sebastian/.conda/envs/hls4ml-tutorial/bin/.jupyter_highlight_selected_word-post-link.sh
==> script messages <==
Traceback (most recent call last):
File "/home/sebastian/.conda/envs/hls4ml-tutorial/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 6, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/sebastian/.conda/envs/hls4ml-tutorial/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 10, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "
==> script output <== stdout: stderr: return code: 1
()