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

Installation Error on Debian (Kali linux) #16

Open
alimp5 opened this issue Nov 7, 2020 · 0 comments
Open

Installation Error on Debian (Kali linux) #16

alimp5 opened this issue Nov 7, 2020 · 0 comments

Comments

@alimp5
Copy link

alimp5 commented Nov 7, 2020

OS: Debian (last version)
Python: 3.8.x and 3.9.x - 64bits

root@milani:~/Desktop/pybind11-2.6.0# cd build && cmake .. && make
-- The CXX compiler identification is GNU 10.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- pybind11 v2.6.0 
-- CMake 3.18.2
-- Found PythonInterp: /usr/bin/python3.9 (found version "3.9") 
-- Found PythonLibs: python3.9
-- PYTHON 3.9.0
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- pybind11::lto enabled
-- pybind11::thin_lto enabled
-- Setting tests build type to MinSizeRel as none was specified
-- Building tests WITHOUT Eigen, use -DDOWNLOAD_EIGEN on CMake 3.11+ to download
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.56")  
-- Found pytest 4.6.11
-- Catch not detected. Interpreter tests will be skipped. Install Catch headers manually or use `cmake -DDOWNLOAD_CATCH=ON` to fetch them automatically.
-- Configuring done
-- Generating done
-- Build files have been written to: /root/Desktop/pybind11-2.6.0/build
Scanning dependencies of target cross_module_gil_utils
[  2%] Building CXX object tests/CMakeFiles/cross_module_gil_utils.dir/cross_module_gil_utils.cpp.o
In file included from /root/Desktop/pybind11-2.6.0/include/pybind11/pytypes.h:12,
                 from /root/Desktop/pybind11-2.6.0/include/pybind11/cast.h:13,
                 from /root/Desktop/pybind11-2.6.0/include/pybind11/attr.h:13,
                 from /root/Desktop/pybind11-2.6.0/include/pybind11/pybind11.h:45,
                 from /root/Desktop/pybind11-2.6.0/tests/cross_module_gil_utils.cpp:9:
/root/Desktop/pybind11-2.6.0/include/pybind11/detail/common.h:122:10: fatal error: Python.h: No such file or directory
  122 | #include <Python.h>
      |          ^~~~~~~~~~
compilation terminated.
make[2]: *** [tests/CMakeFiles/cross_module_gil_utils.dir/build.make:82: tests/CMakeFiles/cross_module_gil_utils.dir/cross_module_gil_utils.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:252: tests/CMakeFiles/cross_module_gil_utils.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

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

1 participant