Description
Hi,
I am having troubles trying to use the ipyvolume library.
I have installed it using conda and defining a conda environment.
At first I tried to use it in VSCode but some problem with the widgets prevented ipyvolume to show the 3d interactive plot properly.
Anyway, I went to the safer jupyter lab way ran in a browser (in this case Chrome Version 115.0.5790.110):
This is my jupyter version (and sub-versions):
IPython : 8.14.0
ipykernel : 5.5.5
ipywidgets : 8.0.7
jupyter_client : 8.3.0
jupyter_core : 5.3.1
jupyter_server : 2.7.0
jupyterlab : 4.0.3
nbclient : 0.8.0
nbconvert : 7.7.3
nbformat : 5.9.1
notebook : 7.0.0
qtconsole : not installed
traitlets : 5.9.0
And this is my python version (also installed in the conda environment I called jupyterEnv):
python 3.9.2
Conda version:
conda 23.7.2
Here is the error that jupyter lab gives when trying to import ipyvolume library:
Traceback (most recent call last):
File ~/Desktop/CondaEnv/miniconda3/envs/jupyterEnv/lib/python3.9/site-packages/IPython/core/interactiveshell.py:3508 in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
Cell In[1], line 16
from ipyvolume import *
File ~/Desktop/CondaEnv/miniconda3/envs/jupyterEnv/lib/python3.9/site-packages/ipyvolume/init.py:8
from ipyvolume.widgets import * # noqa: F401, F403
File ~/Desktop/CondaEnv/miniconda3/envs/jupyterEnv/lib/python3.9/site-packages/ipyvolume/widgets.py:157
return pythreejs.ShaderMatshow_max = traitlets.CFloat(1).tag(sync=True)ew').tag(sync=True)
^
SyntaxError: invalid syntax
Finally, I want to say that some time ago I used this library also in Ubuntu, and it worked perfectly at that moment.
Something is off here :( In some of my attempts to fix this (trying in another environment to (un)-install other packages, use other pyhton version, etc) sometimes I got this error: AttributeError: module 'ipyvolume' has no attribute '_version'.
I would really appreciate any help with this issue!
Regards, Juan.