Skip to content

It would be great to be able to run open3d without plotly installed #7065

Open
@Hjorthmedh

Description

@Hjorthmedh

Checklist

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions