kaolin icon indicating copy to clipboard operation
kaolin copied to clipboard

Import kaolin error

Open attashe opened this issue 4 years ago • 3 comments

After install last version from repo I have this error:

Python 3.6.9 (default, Nov  7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import kaolin
Warning: unable to import datasets/nusc:
   No module named 'nuscenes'
Traceback (most recent call last):
  File "<path>/kaolin/kaolin/datasets/__init__.py", line 11, in <module>
    from .nusc import NuscDetection
  File "<path>/kaolin/kaolin/datasets/nusc.py", line 21, in <module>
    from nuscenes.utils.geometry_utils import transform_matrix
ModuleNotFoundError: No module named 'nuscenes'
Warning: unable to import datasets/nusc:
   None

attashe avatar Jun 03 '20 20:06 attashe

I've commented this:

File "<path>/kaolin/kaolin/datasets/__init__.py", line 11, in <module>
    from .nusc import NuscDetection

before fix

attashe avatar Jun 03 '20 21:06 attashe

Maybe you should follow the installation instruction and install some packages: pip install --no-dependencies nuscenes-devkit opencv-python-headless scikit-learn joblib pyquaternion cachetools

ocean1100 avatar Jun 22 '20 19:06 ocean1100

@ocean1100 thanks for the observation, ... although that instruction is only placed in the windows section of the documentation (it works for linux though). Maybe the documentation should be updated.

oafolabi avatar Jul 25 '20 17:07 oafolabi

Closing for inactivity

Caenorst avatar Dec 12 '22 16:12 Caenorst