Error even after executable permissions given

Roslaunch got a ‘No such file or directory’ error while attempting to run:

/home/user/catkin_ws/src/my_package_3/src/ __name:=move_robot_node __log:=/home/user/.ros/log/adc00c9c-ff48-11ea-ac33-0ec89af4c92c/move_robot_node-1.log

Please make sure that all the executables in this command exist and have
executable permission. This is often caused by a bad launch-prefix.
The traceback for the exception was written to the log file

i am continously getting this error after using roslaunch, even when i have given permissions to the python file using chmod

please help

Hello @a.amantambi,

I’ve just tested your packages and it looks like you’ve been able to solve the issue by yourself, right?


i made mistake in the line #! /usr/bin/env python i worte bin first and usr later which gave me the error same as yours try to see if you have the same mistake