Robotics StackExchange | Archived questions

The 'ros2cli==0.5.3' distribution was not found

python3.7, windows10, ros2-bouncy-windows-AMD64.zip

after I run

call local_setup.bat

I entered

ros2.exe run demo_nodes_cpp talker

but errors: What should I do ?

File "C:\Program Files\ros2-bouncy-windows-AMD64\ros2-windows\Scripts\ros2-script.py", line 6, in <module>
    from pkg_resources import load_entry_point
  File "c:\python37\lib\site-packages\pkg_resources\__init__.py", line 3088, in <module>
    @_call_aside
pkg_resources.DistributionNotFound: The 'ros2cli==0.5.3' distribution was not found and is required by the application

Asked by devilyzy on 2018-08-03 01:20:41 UTC

Comments

I couldn't reproduce this Can you please provide more details as of the exact steps you ran (what archive you downloaded, if you already had another version of ROS2 installed etc)? Can you also confirm that the file Lib/site-packages/ros2cli-0.5.3-py3.7.egg-info/PKG-INFO contains: Version: 0.5.3

Asked by marguedas on 2018-08-03 14:00:28 UTC

I am also having this issue. A few key notes for my situation are that I used a virtual box running ubuntu to cross compile for my raspberry pi zero w. Once that was done, I zipped the file and transferred it out of the box before imaging a micro sd card.

Asked by LiamNelson on 2018-08-06 13:39:04 UTC

Answers