-
Notifications
You must be signed in to change notification settings - Fork 236
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
404 GET Errors When Trying to Run ipyvolume on Jupyter Notebook #421
Comments
Ipyvolume requires pythreejs, can you check if that works?
On Mon, 2 Jan 2023 at 09:34, Christopher Chen ***@***.***> wrote:
I'm trying to get the *following code* to work in Jupyter Notebook:
import ipyvolume as ipv
import numpy as np
N = 1000
x, y, z = np.random.normal(0, 1, (3, N))
fig = ipv.figure()
scatter = ipv.scatter(x, y, z)
ipv.show()
Yet when I run the code, *no output is displayed,* and the *kernel
freezes,* unable to be shutdown and to run other codes, until I reload
the page. Terminal displays the following warnings and nothing else:
[W 00:22:00.355 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20230102002145 (::1) 22.960000ms referer=http://localhost:8888/notebooks/Documents/sttp/Untitled.ipynb
[W 00:22:07.512 NotebookApp] 404 GET /static/jupyter-threejs.js?v=20230102002145 (::1) 2.790000ms referer=http://localhost:8888/notebooks/Documents/sttp/Untitled.ipynb
[W 00:22:07.969 NotebookApp] 404 GET /static/three.js?v=20230102002145 (::1) 2.710000ms referer=http://localhost:8888/notebooks/Documents/sttp/Untitled.ipynb
Other widgets from ipywidget work just fine, and *I have ensured that all
required extensions are enabled*. How do I fix this problem? Thanks in
advance.
—
Reply to this email directly, view it on GitHub
<#421>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANPEPKYX43J6DVCBOGWDQTWQKHH5ANCNFSM6AAAAAATOT252M>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Maarten Breddels
Software engineer / consultant / data scientist
Python / C++ / Javascript / Jupyter
www.maartenbreddels.com / vaex.io
***@***.*** +31 6 2464 0838 <+31+6+24640838>
[image: Twitter] <https://twitter.com/maartenbreddels>[image: Github]
<https://github.com/maartenbreddels>[image: LinkedIn]
<https://linkedin.com/in/maartenbreddels>[image: Skype]
|
Thanks for the quick response! I have installed pythreejs, and after running
However, pythreejs does not seem to work either. After I run the Geometry Examples on pythreejs's documentation page, it also displays nothing
I have tried searching for a solution to this issue, but to no avail. |
same error , No picture to show |
With pythreejs 2.4.1 it seems to work now. |
I'm trying to get the following code to work in Jupyter Notebook:
Yet when I run the code, no output is displayed, and the kernel freezes, unable to be shutdown and to run other codes, until I reload the page. Terminal displays the following warnings and nothing else:
Other widgets from ipywidget work just fine, and I have ensured that all required extensions are enabled. How do I fix this problem? Thanks in advance.
The text was updated successfully, but these errors were encountered: