Open3D tutorial error
Checklist
- [X] I have searched for similar issues.
- [X] For Python issues, I have tested with the latest development wheel.
- [X] I have checked the release documentation and the latest documentation (for
masterbranch).
My Question
Hello. I'm an Open3D beginner. I'm not used to development either. My question may be low-level, but I would appreciate it if there was someone who could answer me.
After installing Open3D, I try it. ' python3 -c "import open3d as o3d; print(o3d.version)"
python3 -c "import open3d as o3d;
mesh = o3d.geometry.TriangleMesh.create_sphere();
mesh.compute_vertex_normals();
o3d.visualization.draw(mesh, raw_mode=True)"
open3d example visualization/draw`
but, I got these error messages.
jinwoo@jinwoo-MS-7D17:~/workspace$ python3 -c "import open3d as o3d; print(o3d.version)" 0.13.0
jinwoo@jinwoo-MS-7D17:~/workspace$ python3 -c "import open3d as o3d; \
mesh = o3d.geometry.TriangleMesh.create_sphere(); \ mesh.compute_vertex_normals(); \ o3d.visualization.draw(mesh, raw_mode=True)"
Traceback (most recent call last):
File "
jinwoo@jinwoo-MS-7D17:~/workspace$ open3d example visualization/draw open3d: command not found
How can I fix these error?
ubuntu 20.04 python 3.8.10 cmake 3.23.2
Thank you for read my question.
Raw mode is not available in the older version of Open3d. Could you tell how you installed Open3d?
I have the same error with a fresh install python3 -m pip install open3d
I tried a pip upgrade with python3 -m pip install open3d --upgrade but it is already in the latest version apparently.
Am I missing something here? Thanks.
My bad I had an old pip version. It has to be >= 20.3 (https://www.open3d.org/docs/latest/getting_started.html#development-version-pip). Solved with
python3 -m pip install --upgrade pip
followed by
python3 -m pip install -U -f https://www.open3d.org/docs/latest/getting_started.html open3d