ros2 / ros2

The Robot Operating System, is a meta operating system for robots.
https://docs.ros.org
3.6k stars 674 forks source link

importlib.metadata.PackageNotFoundError: ros2cli #1416

Closed Cherub1Zhuang closed 1 year ago

Cherub1Zhuang commented 1 year ago

Bug report

Required Info:

Traceback (most recent call last): File "C:\dev\ros2_humble\Scripts\ros2-script.py", line 33, in sys.exit(load_entry_point('ros2cli==0.9.13', 'console_scripts', 'ros2')()) File "C:\dev\ros2_humble\Scripts\ros2-script.py", line 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points File "C:\Python38\lib\importlib\metadata.py", line 504, in distribution return Distribution.from_name(distribution_name) File "C:\Python38\lib\importlib\metadata.py", line 177, in from_name raise PackageNotFoundError(name) importlib.metadata.PackageNotFoundError: ros2cli

clalancette commented 1 year ago

Can you please give us more detailed information on exactly the steps you took? As far as we know this works OK elsewhere, so there may be something in your environment that is subtly different.

clalancette commented 1 year ago

No response in 3 weeks here, so I'm going to close this out.

Toskies commented 11 months ago

do you resolve this question? I have the same question.

mengxyokok commented 2 months ago

the same qustion