Hi , Thanks for this wonderful software,
In my case I run TetraX of cluster and running k3d via JupyterLab we continued to encounter the same error message as you (Failed to load model class ‘PlotModel’ from module ‘k3d’ ) regardless of the installation step.
What versions of k3d , jupyterlab-widgets , ipywidgets , etc., are compatible with either JupyterLab 3 or JupyterLab 4 ?
Thanks
Hi!
Thanks for writing to us. This is the first time I hear such an error. In principle when installing TetraX the compatibility of the packages should be automatically taken care of, what I always assumed. Could you please let us know what Linux or operating system you are using on the cluster? I will try to read on the net what could cause the error in your case.
I, for example, have Jupyterlab version 4.2.5 and k3d version 2.16.1.
Did you also do these steps after installing TetraX?
$ jupyter nbextension install --py --sys-prefix k3d
$ jupyter nbextension enable --py --sys-prefix k3d
Cheers,
Attila
Hey,
Since you didn’t come back to my question I was wondering, could you finally make TetraX to work on your cluster?
Cheers,
Attila
Hi,
No, I was not able to do it. I am waiting response from k3d. I have same issue mentioned here. (GitHub · Where software is built).
Also found some discussion here. (JupyterLab extension installation problem · Issue #226 · K3D-tools/K3D-jupyter · GitHub).
Thanks
Hi,
Thanks for the update. I saw someone writing the following;
Updating ipywidgets and jupyterlab_widgets to the versions below solved the issue for me:
pip install jupyterlab-widgets==3.0.9 ipywidgets==8.1.1
Did you try it? Maybe solves for you too the problem.
Cheers,
Attila