The 'ros2cli==0.5.3' distribution was not found

asked 2018-08-03 01:20:41 -0500

devilyzy gravatar image

updated 2018-08-03 02:53:11 -0500

jayess gravatar image

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
edit retag flag offensive close merge delete

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

marguedas gravatar imagemarguedas ( 2018-08-03 14:00:28 -0500 )edit

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.

LiamNelson gravatar imageLiamNelson ( 2018-08-06 13:39:04 -0500 )edit