Open Cactice opened 4 years ago
you might need libpython3*.so file check your workspace for it
find ~/venv/ -name libpython3*.so
use it like this maybe?
catkin build --cmake-args \
-DCMAKE_BUILD_TYPE=Release \
-DPYTHON_EXECUTABLE=~/venv/bin/python \
-DPYTHON_INCLUDE_DIR=~/venv/include/python3.7m \
-DPYTHON_LIBRARY=~/venv/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.o
Hmmm
Here's the description from the official documentaion for PyModule_Create2 I still don't know why it's giving me this error though ...