tusen-ai / RangeDet

Paper and Codes for “RangeDet: In Defense of Range View for LiDAR-based 3D Object Detection” (ICCV2021)
Apache License 2.0
189 stars 17 forks source link

Installaiton problems #19

Open LiXiang0021 opened 2 years ago

LiXiang0021 commented 2 years ago

Thanks for writer's excellent work! When i try to install as the instruction at the aim file, i got these errors. pip install -v -e .

CMake Error at CMakeLists.txt:14 (find_package): By not providing "Findpybind11.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "pybind11", but CMake did not find one. Could not find a package configuration file provided by "pybind11" with any of the following names:

    pybind11Config.cmake
    pybind11-config.cmake

  Add the installation prefix of "pybind11" to CMAKE_PREFIX_PATH or set
  "pybind11_DIR" to a directory containing one of the above files.  If
  "pybind11" provides a separate development package or SDK, be sure it has
  been installed.

`

Can anyone help me? Thanks a lot!

LiXiang0021 commented 2 years ago

I had alerday handled the above problem. But, I got another one: shown as below.

Traceback (most recent call last): File "/home/lijianguo/testfiles/RangeDet/tools/train.py", line 2, in =ctypes.CDLL('./operator_cxx/contrib/contrib_cxx.so') File "/home/lijianguo/anaconda3/envs/salsa_t/lib/python3.9/ctypes/init.py", line 382, in init self._handle = _dlopen(self._name, mode) OSError: ./operator_cxx/contrib/contrib_cxx.so: cannot open shared object file: No such file or directory

Did anyone met this? Thanks for your response.

BAI-Yeqi commented 2 years ago

@LiXiang0021

Hi, seems instructions under this issue will solve your problem: Issue-6

Maomao-Ran commented 6 months ago

pip install pybind11[global] solves this problem pybind11Config.cmake