ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org

Couldn't find executable named talker.py

hello,
I’m new to ros and I just go through the tutorial while running the created publisher and subscribers in python I got an error like this

"
mishra@mishra-OptiPlex-3060:~/catkin_ws/src/beginner_tutorials/scripts$ rosrun beginner_tutorials talker.py
[rosrun] Couldn’t find executable named talker.py below /home/mishra/catkin_ws/src/beginner_tutorials
[rosrun] Found the following, but they’re either not files,
[rosrun] or not executable:
[rosrun] /home/mishra/catkin_ws/src/beginner_tutorials/scripts/talker.py
mishra@mishra-OptiPlex-3060:~/catkin_ws/src/beginner_tutorials/scripts$
"
what should i do ?

@Mugil_Raj

i believe that this is not the place to ask questions, you could ask rosanswers .

and it just seems like that you do not load your catkin workspace.
maybe you could the following procedure,
http://wiki.ros.org/catkin/Tutorials/create_a_workspace

@tomoyafujita
I’m really sorry for that .
and yeah i did that, i bulid my catkin_ws after load the scripts .

can i repost the qustion in rosanswers?

Yes please, let’s continue with this in ROSAnswers. BTW, did you make your script executable?

sudo chmod +x talker.py