isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
11.52k stars 2.32k forks source link

release 11.0 pip missing sklearn dependency? #2508

Closed RussTedrake closed 4 years ago

RussTedrake commented 4 years ago

Describe the bug It appears that open3d has gained sklearn as a dependency (which doesn't seem great), and that it is undeclared in pip? My mac CI went down as soon as you released.

import open3d as o3d
  File "/usr/local/lib/python3.8/site-packages/open3d/__init__.py", line 111, in <module>
    import open3d.ml
  File "/usr/local/lib/python3.8/site-packages/open3d/ml/__init__.py", line 35, in <module>
    from . import datasets
  File "/usr/local/lib/python3.8/site-packages/open3d/ml/datasets.py", line 34, in <module>
    from open3d._ml3d.datasets import *
  File "/usr/local/lib/python3.8/site-packages/open3d/_ml3d/datasets/__init__.py", line 5, in <module>
    from .semantickitti import SemanticKITTI
  File "/usr/local/lib/python3.8/site-packages/open3d/_ml3d/datasets/semantickitti.py", line 7, in <module>
    from sklearn.neighbors import KDTree
ModuleNotFoundError: No module named 'sklearn'

Environment (please complete the following information):

benjaminum commented 4 years ago

Same problem as in #2509. Some dependencies are missing after pip install.

lantica commented 4 years ago

I have a similar issue with this, but what i missing is torch instead of sklearn.