ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Solved it. Problem is because of a package utilized by ros2 python packages -> setuptools

Solution

  • python version 3.8
  • setup tools version 58.2.0 ( last version to work with ros2 python packages without any warnings)

1 - find out your setup tools version

  • In terminal start python

image description

if it is above 58.2.0 then down grade it

  • pip install setuptools==58.2.0 ( all above versions do not work )

now colcon build it .

2 - Make sure you have underscores in setup.cfg file and not the '-' .