EX 4.1 - no executable error with rosrun command


[EX 4.1]

  • Error file attached

It is regarding rosrun command error, with move_bb8_pkg/my_scripts/test_process.py
When I execute the file with python command (ex. python test_process.py) there is no problem.
But when I execute the program with rosrun command, error occurs.

Make sure the file is executable ('chmod +x ')
And perhaps try renaming your folder to ‘scripts’. That is the standard name for python scripts.

Hi @dimi,

did you manage to solve the error with the solution proposed by @simon.steinmann91?

chmod +x /path/to/your/executable.py

Please let us know in case you still need assistance on that.