Closed calebweinreb closed 1 year ago
Did you install keypoint-moseq with the most updated setup.cfg? I added qgrid and jupyter_bokeh in there
Yes, and both qgrid and jupyter_bokeh are installed and can be imported.
I just did pip install .
from the repository but I can't reproduce your error
Update: I realized the problem is that when running
# Install and Enable widget extensions configurator
!jupyter nbextension install --py jupyter_nbextensions_configurator --sys-prefix
!jupyter nbextension enable --py --sys-prefix widgetsnbextension
!jupyter nbextension enable --py --sys-prefix --py qgrid
# Install bokeh extensions
!jupyter nbextension install --sys-prefix --symlink --py jupyter_bokeh
!jupyter nbextension enable jupyter_bokeh --py --sys-prefix
a different python was being used. e.g. if I ran ! which python
, it showed
/Users/calebweinreb/miniconda3/bin/python
as opposed to
/Users/calebweinreb/miniconda3/envs/keypoint_moseq/bin/python
the reason is because I launched jupyter from my base environment rather than from the keypoint_moseq
environment. If I launched the notebook from the keypoint_moseq
environment everything works. So I guess the notebook/docs should state clearly that you need to launch it from the right environment.
added to the doc in the notebook: 05fb836b00c3ae025cae36270f14136fe32956b9
When running the following cell of the new analysis notebook:
I get the following error message
The module appears to be installed though, e.g.
pip list | grep bokeh
returnsand also I can import
jupyter_bokeh
without error. I'm not sure whether this affects things downstream though. Bokeh seems to load sucessfully: