Hi, I'm trying to get a project generated with the cookiecutter to work in editable mode, so I can develop custom widgets, but I keep having this error showing up:
...
Successfully built test_custom_widgets
Installing collected packages: test_custom_widgets
Attempting uninstall: test_custom_widgets
Found existing installation: test_custom_widgets 0.1.0.dev0
Uninstalling test_custom_widgets-0.1.0.dev0:
Successfully uninstalled test_custom_widgets-0.1.0.dev0
Rolling back uninstall of test_custom_widgets
Moving to /opt/conda/etc/jupyter/nbconfig/notebook.d/test_custom_widgets.json
from /tmp/pip-uninstall-qh0w08u9/test_custom_widgets.json
Moving to /opt/conda/lib/python3.9/site-packages/test_custom_widgets-0.1.0.dev0.dist-info/
from /opt/conda/lib/python3.9/site-packages/~est_custom_widgets-0.1.0.dev0.dist-info
Moving to /opt/conda/lib/python3.9/site-packages/test_custom_widgets.pth
from /tmp/pip-uninstall-iqukd30m/test_custom_widgets.pth
Moving to /opt/conda/share/jupyter/nbextensions/test_custom_widgets/
from /opt/conda/share/jupyter/nbextensions/~est_custom_widgets
Moving to /opt/extensions/test_custom_widgets/test_custom_widgets/labextension/
from /opt/extensions/test_custom_widgets/test_custom_widgets/~abextension
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/opt/conda/share/jupyter/labextensions/test_custom_widgets/package.json'
The command I'm running is pip install -e ".[test, examples]".
The project is not modified and exactly as created with the cookiecutter. No package added, no file modified.
Also for some reason it works sometimes but if I clean the project from generated files (jlpm run clean) then it stops working again.
This is running in a docker container with Python 3.9.10 and node v17.9.0 on a Linux RHEL 7.7 (using WSL2).
Hi, I'm trying to get a project generated with the cookiecutter to work in editable mode, so I can develop custom widgets, but I keep having this error showing up:
The command I'm running is
pip install -e ".[test, examples]"
.The project is not modified and exactly as created with the cookiecutter. No package added, no file modified. Also for some reason it works sometimes but if I clean the project from generated files (
jlpm run clean
) then it stops working again.This is running in a docker container with Python 3.9.10 and node v17.9.0 on a Linux RHEL 7.7 (using WSL2).
Here is a list of the pip packages