Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installaiton problems #19

Open
LiXiang0021 opened this issue May 21, 2022 · 3 comments
Open

Installaiton problems #19

LiXiang0021 opened this issue May 21, 2022 · 3 comments

Comments

@LiXiang0021
Copy link

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
Copy link
Author

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.

@BAI-Yeqi
Copy link

@LiXiang0021

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

@Maomao-Ran
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants