Python BindingsΒΆ
By default, the Python bindings will be built for the default Python version for the corresponding ROS distribution ($ROS_PYTHON_VERSION
). In order to build for different versions of Python you can specify PYBIND_PYTHON_EXECUTABLE
in the additional CMake arguments of your catkin workspace:
catkin config --cmake-args -DPYBIND_PYTHON_EXECUTABLE=/usr/bin/python3