-
Hi, I'm trying to see 3D models inside of Jupyter lab, but I get an error that suggests I'm not quite set up correctly. Can anyone help? I created a virtualenv for Python 3.10 and used pip to install But when I tried the sample code in a notebook, import open3d as o3d
from open3d.web_visualizer import draw
cube_red = o3d.geometry.TriangleMesh.create_box(1, 2, 4)
cube_red.compute_vertex_normals()
cube_red.paint_uniform_color((1.0, 0.0, 0.0))
draw(cube_red) I get the following error:
Thanks for any ideas! Chris |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @justdigi are you on macOS? Jupyter webvisualizer (server) is not supported on macOS. If not, what is your system environment? See here for supported platforms: http://www.open3d.org/docs/latest/tutorial/visualization/web_visualizer.html |
Beta Was this translation helpful? Give feedback.
-
Visualization is working on my Mac M1 with JupyterLab. It wouldn't work initially and I had to install one of the following (sorry I didn't take notes): trame Note that the Visualization window doesn't close properly and you'll have to manually close it for the code to move onto the next cell but I will try the suggestions in the link provided by ssheorey above. |
Beta Was this translation helpful? Give feedback.
Hi @justdigi are you on macOS? Jupyter webvisualizer (server) is not supported on macOS. If not, what is your system environment?
See here for supported platforms: http://www.open3d.org/docs/latest/tutorial/visualization/web_visualizer.html