V2AI / Det3D

World's first general purpose 3D object detection codebse.
https://arxiv.org/abs/1908.09492
Apache License 2.0
1.5k stars 299 forks source link

OSError: Could not load shared object file: libllvmlite.so #136

Closed ZiyuXiong closed 4 years ago

ZiyuXiong commented 4 years ago

Hi, when I'm running the create_data.py, an unexpected error occured:

command: "python tools/create_data.py nuscenes_data_prep --root_path=space1/xiongzy/datatsets/nuscenes --version="v1.0-trainval" --nsweeps=10"

error: Traceback (most recent call last): File "tools/create_data.py", line 9, in from det3d.datasets.kitti import kitti_common as kitti_ds File "/space1/xiongzy/Det3D/det3d/datasets/init.py", line 4, in from .kitti import KittiDataset File "/space1/xiongzy/Det3D/det3d/datasets/kitti/init.py", line 1, in from .kitti import KittiDataset File "/space1/xiongzy/Det3D/det3d/datasets/kitti/kitti.py", line 7, in from det3d.core import box_np_ops File "/space1/xiongzy/Det3D/det3d/core/init.py", line 4, in from .anchor import File "/space1/xiongzy/Det3D/det3d/core/anchor/init.py", line 1, in from .anchor_generator import ( File "/space1/xiongzy/Det3D/det3d/core/anchor/anchor_generator.py", line 2, in from det3d.core.bbox import box_np_ops File "/space1/xiongzy/Det3D/det3d/core/bbox/init.py", line 42, in from . import box_coders, box_np_ops, box_torch_ops, geometry, region_similarity File "/space1/xiongzy/Det3D/det3d/core/bbox/box_coders.py", line 5, in from . import box_np_ops, box_torch_ops File "/space1/xiongzy/Det3D/det3d/core/bbox/box_np_ops.py", line 3, in import numba File "/space1/xiongzy/anaconda3/envs/det/lib/python3.7/site-packages/numba-0.52.0rc2-py3.7-linux-x86_64.egg/numba/init.py", line 19, in from numba.core import config File "/space1/xiongzy/anaconda3/envs/det/lib/python3.7/site-packages/numba-0.52.0rc2-py3.7-linux-x86_64.egg/numba/core/config.py", line 16, in import llvmlite.binding as ll File "/space1/xiongzy/anaconda3/envs/det/lib/python3.7/site-packages/llvmlite-0.35.0rc2-py3.7.egg/llvmlite/binding/init.py", line 4, in from .dylib import File "/space1/xiongzy/anaconda3/envs/det/lib/python3.7/site-packages/llvmlite-0.35.0rc2-py3.7.egg/llvmlite/binding/dylib.py", line 3, in from llvmlite.binding import ffi File "/space1/xiongzy/anaconda3/envs/det/lib/python3.7/site-packages/llvmlite-0.35.0rc2-py3.7.egg/llvmlite/binding/ffi.py", line 153, in raise OSError("Could not load shared object file: {}".format(_lib_name)) OSError: Could not load shared object file: libllvmlite.so

my environment: python 3.7 pytorch 1.6.0 CUDA 10.1 ubuntu 16.04 CMake 3.17.5

I followd the installation.md to install the det3d, so do you have any solution to this problem? Thank you!