Skip to content
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

Error: "Failed to load model class 'RendererModel' from module 'jupyter-threejs'" #42

Open
QuanYuhan opened this issue Nov 7, 2022 · 5 comments

Comments

@QuanYuhan
Copy link

Hi,

I was trying to use the Jupyter Notebook tutorial in the examples. However I can't draw any graphics, no matter what I try, I always get the error "Failed to load model class 'RendererModel' from module 'jupyter-threejs'". I tried changing browsers, but that didn't solve the problem. I would like to know if there is a way to solve this problem?

Thank you in advance!

Failed to load model class 'RendererModel' from module 'jupyter-threejs'
Error: Script error for "jupyter-threejs"
http://requirejs.org/docs/errors.html#scripterror
at makeError (http://localhost:8888/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b>7953b5cc60411154f593:168:17)
at HTMLScriptElement.onScriptError (http://localhost:8888/static/components/requirejs/require.js?v=d37b48bb2137faa0ab98157e240c084dd5b1b5e74911723aa1d1f04c928c2a03dedf922d049e4815f7e5a369faa2e6b6a1000aae958b7953b5cc60411154f593:1735:36)

image

@nnsriram97
Copy link

Facing the same issue!

@hash-ir
Copy link

hash-ir commented Jan 10, 2023

Were you able to resolve it? I am using meshplot==0.4.0 and it still gives me the same error (both firefox and chrome)

@QuanYuhan
Copy link
Author

It's a pity that I didn't solve this problem, but I found that using jupyter-notebook in VS code can avoid this problem, maybe you can try it.

Were you able to resolve it? I am using meshplot==0.4.0 and it still gives me the same error (both firefox and chrome)

@milmillin
Copy link

This might be helpful: jupyter-widgets/pythreejs#389 (comment)

In particular, running pip install ipywidgets jupyter==1.0.0 jupyter-contrib-core==0.4.2 jupyter-contrib-nbextensions==0.7.0 jupyterlab==3.6.3 jupyterlab-widgets==3.0.5 notebook==6.5.4 pythreejs==2.4.2 traitlets==5.9.0 widgetsnbextension==4.0.7 --force-reinstall worked for me.

@paul5f5f
Copy link

paul5f5f commented Jul 7, 2024

thank you ,i have solved this issue by following your method @milmillin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants