RangeDet icon indicating copy to clipboard operation
RangeDet copied to clipboard

Installaiton problems

Open LiXiang0021 opened this issue 3 years ago • 3 comments

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 avatar May 21 '22 08:05 LiXiang0021

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

Traceback (most recent call last): File "/home/lijianguo/test_files/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.

LiXiang0021 avatar May 30 '22 13:05 LiXiang0021

@LiXiang0021

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

BAI-Yeqi avatar Oct 18 '22 10:10 BAI-Yeqi

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

Maomao-Ran avatar Apr 23 '24 08:04 Maomao-Ran