Open notEvil opened 1 year ago
Hi,
jupyter nbextension install ...
fails due to missingipython_genutils
and maybe more
That is odd to start with, can you share the full error msg and maybe library versions of notebook, ipython and ipython_genutils?
Regards,
Maarten
In a clean master, when I run pipenv run pip install -e .
it says
Then pipenv run python -m jupyter nbextension install --py --overwrite --symlink --sys-prefix ipyvolume
fails because there is no jupyter-nbextension
in the search path, except the system one. This one spawns the system interpreter which can't find ipyvolume for apparent reason. So I run pipenv run pip install jupyterlab
and get
Now the same command gives me
This is the symlink to itself due to non-existent nbextensions
. Output of find share
:
share
share/jupyter
share/jupyter/labextensions
share/jupyter/labextensions/ipyvolume
share/jupyter/labextensions/ipyvolume/static
share/jupyter/labextensions/ipyvolume/static/style.js
share/jupyter/labextensions/ipyvolume/package.json
edit: couldn't reproduce the point you asked about, but the others are still valid. The jupyter situtation is unfortunate but easy to avoid.
I reproduced this partially using a venv, I've update the README: d4c541f8f4600caca516d19948183545febd1337 Does that help? Maybe your JS build does not get triggered.
Yes it does. The last command still requires jupyter_packaging, but its a minor nuisance. Thanks a lot!
Hi,
I had an issue with an animation that I wanted to debug, but whatever I tried, I failed to setup the dev environment. What I did:
What I found out so far:
jupyter nbextension install ...
fails due to missingipython_genutils
and maybe morejupyterlab
,jupyter nbextension install ...
creates a symlink to itself because./share/jupyter/nbextensions
doesn't exist, seeipython._prefix
./share/jupyter/labextensions
existsjupyterlab
,jupyter labextension ...
fails due to missingjupyter_packaging
[W ... LabApp] ipyvolume is not a valid extension
Those issues could be related to my setup, so it would be great to know what the actual requirements for this project are (like npm version ...) and if anyone is able to create a developer installation in a clean Python environment.