ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A

Ros2 topic and ros2 node command problem in MAC


I installed ROS2 on MAC and I run talker/listener application and both worked fine, but I found this warning (although it worked fine).

Aniss-MacBook-Pro-3:~ akoubaa$ ros2 run demo_nodes_cpp listener
Failed to load entry point ‘launch’: No module named ‘rclpy._rclpy’
Failed to load entry point ‘echo’: No module named ‘rclpy._rclpy’
Here is a screenshot

Then, I tried the commands
ros2 node list
ros2 topic list

and here there was serious problem as shown in the following two pictures

Is there any means to fix the problem?


ROS Course for Beginners

Please ask questions on, see:

Also, please do not post pictures of text.

And please do not advertise in your signature. Making a post about a class or book is fine, but please do not include it in every post. It clutters conversations of which you’re a part.


Thanks and sorry for confusion!