Robotics StackExchange | Archived questions

rosrun error

hello i am new to ROS. i write rosrun capteurs range.py on terminal i keep getting "[rosrun] Couldn't find executable named range.py Is there any idea which the problem is? If you want further info let me know! Sorry for my bad english! Thank you in advance!

Asked by Emilien on 2016-04-04 05:30:08 UTC

Comments

Answers

most probably, your python file is not executable. Change it with chmod a+x range.py and try again...

Asked by mgruhler on 2016-04-04 05:31:38 UTC

Comments

thanks for your reponse.

Asked by Emilien on 2016-04-04 06:19:51 UTC

after chmod a+x range.py, i found this error:image description

Asked by Emilien on 2016-04-04 06:20:03 UTC

Comments

please don't post a new question as an answer to your previous one. Post a new one.

Also, please don't add screenshots of any errors, but copy-paste the error and format it with the preformatted text button (the one with 1s and 0s).

Asked by mgruhler on 2016-04-04 06:42:18 UTC