Ask Your Question

Revision history [back]

Might be that your $PYTHONPATH is set to python2.x

Check the python version with

$ echo $PYTHONPATH

Then try unsetting with

$ unset PYTHONPATH

Now try

$ catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3