Open
Description
Checklist
- I have searched for similar issues.
- For Python issues, I have tested with the latest development wheel.
- I have checked the release documentation and the latest documentation (for
main
branch).
Proposed new feature or change
The plotly installation has over 30000 files, and I would like to use the open3d features without having plotly installed (limited number of files allowed on HPC).
But I am unable to import open3d without plotly.
>>> import open3d
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/lib/python3.11/site-packages/open3d/__init__.py", line 112, in <module>
import open3d.visualization
File "lib/python3.11/site-packages/open3d/visualization/__init__.py", line 19, in <module>
from .draw_plotly import draw_plotly
File "/lib/python3.11/site-packages/open3d/visualization/draw_plotly.py", line 10, in <module>
import plotly.graph_objects as go
ModuleNotFoundError: No module named 'plotly'
/lib/python3.11/site-packages> find plotly -name "*" | wc
33492 33492 2072651
33492 files for plotly is a lot, and not needed for all parts of open3d.
References
No response
Additional information
No response