-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Model class 'RendererModel' from module 'jupyter-threejs' is loaded but can not be instantiated in raytrace demo #129
Comments
Hello @nbecker, Could you please try the solution proposed in this comment and let us know if it worked for you? |
Hi @merlinND I tried the solution in #106 on my bare-metal Ubuntu machine, and it did not fix the problem. Some details: ipydatawidgets 4.3.3
ipykernel 6.21.2
ipython 7.34.0
ipywidgets 8.0.4
jupyter 1.0.0
jupyter-core 5.2.0
jupyterlab 3.6.1
jupyterlab-widgets 3.0.5
jupyter-contrib-nbextensions 0.7.0
notebook 6.5.2
pythreejs 2.4.2 |
I tried the default docker image and I can reproduce the problem in this issue while trying to call scene.preview(). |
Hi @rsubbaraman, That's strange, I am using these exact same package versions and the preview is working well. Just to check,
|
@merlinND Jupyterlab was a good suggestion. Thank you It's now working natively on my system! The Jupiter notebook running on the Docker build still has the problem. I'll see if I can modify it and fix it. |
Thank you for reporting back! My understanding was that Jupyter notebooks had been deprecated in favor of Jupyterlab by the Jupyter team, but it looks like they have reverted that decision. |
I figured out the suspects:
The DOCKERFILE updates jupyter (which breaks jupyterlab-widgets). In addition, the jupyter notebook does not work for any combination of things that I've tried. I will submit a PR to fix this problem. |
Thanks for the investigation @rsubbaraman! Following @moorepants' commit, it turns out we can get
I've used the latest current versions for the rest of the modules (including |
In raytrace demo, running on local gpu (not colab), when executing scene.preview(), I get
Here is a screenshot
The text was updated successfully, but these errors were encountered: