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

ros2 rclpy module not found after source build

asked 2019-11-03 11:17:22 -0600

sgstreet gravatar image

I built ros2 from source using the instructions at

https://index.ros.org/doc/ros2/Instal...

When I try to run the python listener I get the following errors:

stephen@robot-dev:~/Workspace/ros2$ . install/local_setup.bash 
stephen@robot-dev:~/Workspace/ros2$ ros2 run demo_nodes_py listener
Failed to load entry point 'launch': No module named 'rclpy._rclpy'
Failed to load entry point 'info': No module named 'rclpy._rclpy'
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'send_goal': No module named 'rclpy._rclpy'
Failed to load entry point 'show': No module named 'rclpy._rclpy'
Failed to load entry point 'play': No module named 'rclpy._rclpy'
Failed to load entry point 'record': No module named 'rclpy._rclpy'
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'load': No module named 'rclpy._rclpy'
Failed to load entry point 'standalone': No module named 'rclpy._rclpy'
Failed to load entry point 'types': No module named 'rclpy._rclpy'
Failed to load entry point 'unload': No module named 'rclpy._rclpy'
Failed to load entry point 'start': No module named 'rclpy._rclpy'
Failed to load entry point 'status': No module named 'rclpy._rclpy'
Failed to load entry point 'stop': No module named 'rclpy._rclpy'
Failed to load entry point 'get': No module named 'rclpy._rclpy'
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'nodes': No module named 'rclpy._rclpy'
Failed to load entry point 'set': No module named 'rclpy._rclpy'
Failed to load entry point 'info': No module named 'rclpy._rclpy'
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'delete': No module named 'rclpy._rclpy'
Failed to load entry point 'describe': No module named 'rclpy._rclpy'
Failed to load entry point 'dump': No module named 'rclpy._rclpy'
Failed to load entry point 'get': No module named 'rclpy._rclpy'
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'set': No module named 'rclpy._rclpy'
Failed to load entry point 'create_key': No module named 'rclpy._rclpy'
Failed to load entry point 'create_keystore': No module named 'rclpy._rclpy'
Failed to load entry point 'create_permission': No module named 'rclpy._rclpy'
Failed to load entry point 'distribute_key': No module named 'rclpy._rclpy'
Failed to load entry point 'generate_artifacts': No module named 'rclpy._rclpy'
Failed to load entry point 'generate_policy': No module named 'rclpy._rclpy'
Failed to load entry point 'list_keys': No module named 'rclpy._rclpy'
Failed to load entry point 'call': No module named 'rclpy._rclpy'
Failed to load entry point 'find': No module named 'rclpy._rclpy'
Failed to load entry point 'list': No module named 'rclpy._rclpy'
Failed to load entry point 'type': No module named 'rclpy._rclpy'
Failed to load entry point 'bw': No module named 'rclpy._rclpy'
Failed to load entry point 'delay': No module named 'rclpy._rclpy'
Failed to load entry point 'echo': No module named 'rclpy._rclpy'
Failed to load entry point ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-11-04 12:38:57 -0600

duck-development gravatar image

You may look at this https://github.com/DynoRobotics/Unity...

It seems that something during the build gone wrong

You may make a build clean and re run it

edit flag offensive delete link more

Comments

Could you please summarise the contents of the issue you linked to? That would make your answer stand on its own, making it much more robust against changes at the linked external site.

gvdhoorn gravatar image gvdhoorn  ( 2019-11-05 01:42:53 -0600 )edit

I write already that this is may coused by a fault build. In the side they have a similar problem ans a new clean build did help.

duck-development gravatar image duck-development  ( 2019-11-05 02:46:00 -0600 )edit

This was a clean build,

sgstreet gravatar image sgstreet  ( 2019-11-09 13:00:25 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2019-11-03 11:17:22 -0600

Seen: 2,981 times

Last updated: Nov 04 '19