ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

ModuleNotFoundError: No module named 'launch'

asked 2023-01-17 19:07:54 -0500

jlichong gravatar image

Running python3 rrbot_system_position_only.launch.pyfrom here https://github.com/ros-controls/ros2_.... But following the error message appears

Traceback (most recent call last):
  File "/home/ros2_control_demos/ros2_control_demo_bringup/launch/rrbot_system_position_only.launch.py", line 15, in <module>
    from launch import LaunchDescription
ModuleNotFoundError: No module named 'launch'

I already tried the solution suggested in https://answers.ros.org/question/3890... but that did not work. Can you guys please help me solve this error? Thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-01-18 12:25:21 -0500

jlichong gravatar image

Actually turns out I had to follow the setup instructions for ROS2 from the tutorials here: https://docs.ros.org/en/humble/Tutori...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2023-01-17 19:07:54 -0500

Seen: 15,521 times

Last updated: Jan 18 '23