[rosrun] Found the following, but they're either not files, or not executable:

运行 # rosrun beginner_tutorials talker.py时出现如下错误:

[rosrun] Couldn’t find executable named talker.py below
/home/hri/catkin_ws_touching_AI/src/beginner_tutorials [rosrun] Found
the following, but they’re either not files, [rosrun] or not
executable: [rosrun]
/home/hri/catkin_ws_touching_AI/src/beginner_tutorials/talker_listener/talker.py

分析:这是由于talker.py没有执行权限
解决方法:

  1. cd ‘talker.py所在的文件夹’
  2. chmod +x talker.py

你可能感兴趣的:(疑难杂症)