Closed mustafabozkaya closed 1 year ago
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn(
how can ı fix this error
thanks okey ı fixed
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
if it is above 58.2.0 then down grade it then downgrade setuptools the followving command 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 '-' .
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn(
how can ı fix this error