Ros2 topic and ros2 node command problem in MAC

Hi

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
and
ros2 topic list

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

Is there any means to fix the problem?

Thanks
Anis

ROS Course for Beginners
https://www.udemy.com/ros-essentials/?couponCode=ROSDISCOURSE1

Please ask questions on answers.ros.org, see: https://github.com/ros2/ros2/wiki/Contact#troubleshooting

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.

Thanks and sorry for confusion!