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

Hey guys, so I've been trying to install ros2 for the last few hours and I think I understand the situation, but do not know how to solve it.

At first this would seem it is an environment issue, where maybe the $PYTHONPATH is not set correctly. This is not the case though, Python 3.5 comes with ros2 installed and all of the site packages along with it.

When I go to the site packages directory, rclpy does exist. Therefore, the package is installed and python is definitely detecting it.

So I was curious, where is this python module? I went to highest level of the ros2 installation and applied this command to search for any text within that contains references the missing module

grep -r "rclp._rclpy" .

Nothing comes up. I'm at a loss.

Hey guys, so I've been trying to install ros2 for the last few hours and I think I understand the situation, but do not know how to solve it.

At first this would seem it is an environment issue, where maybe the $PYTHONPATH is not set correctly. This is not the case though, Python 3.5 comes with ros2 installed and all of the site packages along with it.

When I go to the site packages directory, rclpy does exist. Therefore, the package is installed and python is definitely detecting it.

So I was curious, where is this python module? I went to highest level of the ros2 installation and applied this command to search for any text within that contains references the missing module

grep -r "rclp._rclpy" .

Nothing comes up. I'm at a loss.

edit: So I was doing all of this on Gallium OS (Ubuntu Xenial), and decided to simply install Ubuntu 18.04 and be done with it. Problem Fixed.