cd ~/catkin_ws
catkin config --append-args \
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
-DPYTHON_INCLUDE_DIR=/usr/include/python3.6m \
-DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.6m.so
source ~/.bashrc # Make sure ROS_PYTHON_VERSION=3 is set before you invoke catkin build
catkin build # You can (probably) safely ignore the warnings
Do I need to execute this before executing the above code(Update Python dependencies:)?
in Installation
Do I need to execute this before executing the above code(Update Python dependencies:)?