I installed Ros2 Humble on Ubuntu 22.04. When I launch the command ros2 I get the following error message

Traceback (most recent call last): File "/opt/ros/humble/bin/ros2", line 33, in sys.exit(load_entry_point('ros2cli==0.18.8', 'console_scripts', 'ros2')())

File "/opt/ros/humble/bin/ros2", line 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points

File "/usr/lib/python3.10/importlib/metadata/init.py", line 969, in distribution return Distribution.from_name(distribution_name)

File "/usr/lib/python3.10/importlib/metadata/init.py", line 548, in from_name raise PackageNotFoundError(name)

importlib.metadata.PackageNotFoundError: No package metadata was found for ros2cli

Do you have any ideas on how to solve this issue?

  • $\begingroup$ You seem to be missing ros2cli. $\endgroup$ Feb 15 at 0:26


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.