ImportError: No module named rosgraph_msgs.msg Raspbian Stretch

asked 2019-06-03 05:56:51 -0500

viciopoli gravatar image

I've created a catkin workspace on my raspberry pi 3B+ but on roscore command an error appear. The result of roscore is:

Traceback (most recent call last):
  File "/home/pi/ros_catkin_ws/devel/bin/roscore", line 15, in <module>
    exec(compile(, python_script, 'exec'), context)
  File "/home/pi/ros_catkin_ws/src/ros_comm/roslaunch/scripts/roscore", line 69, in <module>
    import roslaunch
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/", line 61, in <module>
    from .scriptapi import ROSLaunch
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/", line 42, in <module>
    import roslaunch.parent
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/", line 54, in <module>
    import roslaunch.server
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/", line 78, in <module>
    from rosgraph_msgs.msg import Log
ImportError: No module named rosgraph_msgs.msg
edit retag flag offensive close merge delete


@viciopoli Were you able to solve this? If so how?

garyrightbot gravatar image garyrightbot  ( 2020-12-04 11:08:59 -0500 )edit