ipyvolume
ipyvolume copied to clipboard
Keep getting "Error displaying widget" with jupyter lab 2.12 + ipyvolume 0.5.2
- [X] browser cache cleared
- [X] ipywidgets works
- [x] pythreejs works
- [X] jupyter lab build completed after "jupyter labextension update --all"
- [X] ipyvolume extension enabled
browser console
Error: Module ipyvolume, semver range ~0.5.2 is not registered as a widget module
$ python --version
Python 3.7.6
$ node --version
v13.13.0
$ jupyter lab --version
2.1.2
$ conda list ipyvolume
# packages in environment at /opt/conda:
#
# Name Version Build Channel
ipyvolume 0.5.2 py37_0 conda-forge
$ conda list ipywidgets
# packages in environment at /opt/conda:
#
# Name Version Build Channel
ipywidgets 7.5.1 py_0 conda-forge
$ conda list pythreejs
# packages in environment at /opt/conda:
#
# Name Version Build Channel
pythreejs 2.2.0 pyh8c360ce_0 conda-forge
$ jupyter labextension list
Known labextensions:
app dir: /opt/conda/share/jupyter/lab
@jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK
@jupyterlab/hub-extension v2.1.2 disabled OK
@pyviz/jupyterlab_pyviz v1.0.4 enabled OK
bqplot v0.5.16 enabled OK
ipyvolume v0.5.2 enabled OK
jupyter-leaflet v0.13.2 enabled OK
jupyter-matplotlib v0.7.3 enabled OK
jupyter-threejs v2.2.0 enabled OK
jupyter-vue v1.4.0 enabled OK
jupyterlab-datawidgets v6.3.0 enabled OK
jupyterlab_bokeh v1.0.0 enabled X
$ conda info
active environment : base
active env location : /opt/conda
shell level : 1
user config file : /home/jovyan/.condarc
populated config files : /opt/conda/.condarc
/home/jovyan/.condarc
conda version : 4.8.4
conda-build version : not installed
python version : 3.7.6.final.0
virtual packages : __glibc=2.27
base environment : /opt/conda (writable)
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /opt/conda/pkgs
/home/jovyan/.conda/pkgs
envs directories : /opt/conda/envs
/home/jovyan/.conda/envs
platform : linux-64
user-agent : conda/4.8.4 requests/2.23.0 CPython/3.7.6 Linux/4.15.0-106-generic ubuntu/18.04.4 glibc/2.27
UID:GID : 1000:100
netrc file : None
offline mode : False
I was able to resolve this for jupyterlab
2.1.4
(python3.6.9) by installing:
-
latest ipyvolume release (assuming latest ipyvolume labextension)
-
pip install ipyvolume==0.6.0a6
(pre-release)
-
-
bqplot
-
pip install bqplot
-
jupyter labextension install bqplot
-
+1 for @pratulyab. Installing bqplot worked for me. Is it worth it for someone and/or me to add that to the Installation Documentation, which doesn't mention bqplot currently?