building cmake -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") .. https://pybind11.readthedocs.io/en/master/compiling.html