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

Revision history [back]

click to hide/show revision 1
initial version

We see this:

File "/opt/ros/melodic/bin/roslaunch",

and:

File "/opt/ros/dashing/lib/python3.6

which suggests you have both ROS 1 Melodic and ROS 2 Dashing installed on your machine.

Moreover, you probably also have both ROS versions sourced in the same shell. Do you have two source /opt/ros/.../setup.bash lines in your .bashrc by any chance?

If so, remove the one for ROS 2 for now and see whether things start working.

We see this:

File "/opt/ros/melodic/bin/roslaunch",

and:

File "/opt/ros/dashing/lib/python3.6

which suggests you have both ROS 1 Melodic and ROS 2 Dashing installed on your machine.

Moreover, you probably also have both ROS versions sourced in the same shell. Do you have two source /opt/ros/.../setup.bash lines in your .bashrc by any chance?

If so, remove the one for ROS 2 for now and see whether things start working.