ethz-asl / robot_control

1 stars 2 forks source link

Python bindings build error #9

Closed grizzi closed 4 years ago

grizzi commented 4 years ago

This is related to testing the solution proposed in #7

I get the following error:

/home/giuseppe/exp_ws/src/robot_control/submodules/pybind11/include/pybind11/detail/common.h:112:10: fatal error: Python.h: No such file or directory
 #include <Python.h>

In this thread people either reference to wrong paths or python3-dev not being installed. I have checked and it is installed on my system. And also the paths in the CMake are correct. @kekeblom do you know what it could be?

grizzi commented 4 years ago

It turns out it was a path issue. BTW I have tried the conda setup on my machine and it works smoothly (the import works).