Closed mikaelarguedas closed 4 years ago
Similar to https://github.com/ros-visualization/rqt_graph/pull/43
Without this change the script cannot be rosrun on Noetic/Focal and results in: /usr/bin/env: ‘python’: No such file or directory
/usr/bin/env: ‘python’: No such file or directory
Python scripts need to be installed using catkin_install_python for the shebang line to be rewritten to point to python3. More details at https://wiki.ros.org/UsingPython3/SourceCodeChanges#Changing_shebangs
catkin_install_python
Signed-off-by: Mikael Arguedas mikael.arguedas@gmail.com
This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/ros-noetic-ninjemys-release/14262/22
Thanks for the patch.
Similar to https://github.com/ros-visualization/rqt_graph/pull/43
Without this change the script cannot be rosrun on Noetic/Focal and results in:
/usr/bin/env: ‘python’: No such file or directory
Python scripts need to be installed using
catkin_install_python
for the shebang line to be rewritten to point to python3. More details at https://wiki.ros.org/UsingPython3/SourceCodeChanges#Changing_shebangsSigned-off-by: Mikael Arguedas mikael.arguedas@gmail.com