I\'m trying to learn pybind11
and the first Google result is this page, where you should be guided towards compiling and running some test cases. From this page
You need to install pybind11
as instructed here by cloning the GitHub repository:
python3 -m pip install pytest numpy scipy
sudo apt install -y cmake python3-dev libeigen3-dev libboost-dev git
git clone https://github.com/pybind/pybind11.git
cd pybind11
cmake -DDOWNLOAD_CATCH=1
mkdir build
cd build
cmake ..
sudo make install
cd ..
Then you can run the tests by going to the folder cd tests
. Next, follow steps in the tutorial, starting with mkdir build
.
P.S. You may also need to make sure your Python packages are uptodate, follwing the instructions here.