rclpy import error tutorial
In /robot_operating_system/ros2/tutorials/tutorial_2
I tried to run
ros2 run demo_nodes_py talker
and the output is as follows
ModuleNotFoundError: No module named 'rclpy._rclpy'
Can anyone help me?
I also just can't run 'talker' as a command in the terminal.
Using ubuntu 18.04
Edit: I do have rclpy downloaded. Can anyone confirm if my env variables are wrong?
ROSETCDIR=/opt/ros/melodic/etc/ros
ROS_ROOT=/opt/ros/melodic/share/ros
ROSMASTERURI=http://localhost:11311
ROS_VERSION=2
ROSPYTHONVERSION=3
ROSPACKAGEPATH=/home/dominick/ros2_install/ros2-linux/share
ROSLISPPACKAGEDIRECTORIES=
ROS_DISTRO=bouncy
Asked by Felipe on 2019-01-14 09:33:03 UTC
Comments
Are you using anaconda?
Asked by jayess on 2019-01-14 22:09:30 UTC