/usr/bin/env: ‘python’: No such file or directory
[prepare_robot-6] process has died [pid 71833, exit code 127, cmd /home/obinata/ros/catkin_ws/src/ZebraDevs/fetch_gazebo/fetch_gazebo/scripts/prepare_simulated_robot.py __name:=prepare_robot __log:=/home/obinata/.ros/log/74612a06-1738-11ef-8f76-818e92e2a08e/prepare_robot-6.log]. log file: /home/obinata/.ros/log/74612a06-1738-11ef-8f76-818e92e2a08e/prepare_robot-6*.log
Because Python files are installed with install in CMake, the catkin doesn't override the shebang as the user's Python interpreter. This PR fixes it.
To fix the error
Because Python files are installed with
install
in CMake, the catkin doesn't override the shebang as the user's Python interpreter. This PR fixes it.