Get pybind11 dep. from pybind11 git clone https://github.com/pybind/pybind11.git mkdir build To give perms to run test.py from build directory chmod +x main.py To run cd build cmake .. && make && python ../main.py