ImportError: No module named msg
when I function a program,I got this errot
Traceback (most recent call last):
File "/home/cc/catkin_ws/src/rbx1/rbx1_nav/nodes/move_base_square.py", line 28, in <module>
from move_base_msgs.msg import MoveBaseAction, MoveBaseGoal
ImportError: No module named msg
Asked by cros on 2014-12-24 07:05:16 UTC
Comments
Judging from your other questions, I'm guessing you've only just started using ROS. Have you completed (and understood) all the ROS tutorials on the wiki? If not, I'd highly recommend you do those, as they will help you understand what is going on.
Asked by gvdhoorn on 2014-12-24 07:36:04 UTC
Please provide enough information to reproduce your problem so we can help you.
Asked by tfoote on 2014-12-24 11:59:32 UTC
Type echo $PYTHONPATH To get an idea of what paths are linked.
Also don't do what I did and waste a day running a script from the folder it is in, i.e : ./script.py, run from the previous folder, i.e ./scripts/script.py
Asked by cdrwolfe on 2015-01-15 15:34:31 UTC