Ros2编译python节点报错SetuptoolsDeprec

2024-01-13  本文已影响0人  ArslanRobot
arslantech@ubuntu:~/pro/arslan-saturn-ros2$ colcon build
Starting >>> bt_gatt_service
--- stderr: bt_gatt_service                    
/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(
---
Finished <<< bt_gatt_service [6.00s]

Summary: 1 package finished [10.7s]
  1 package had stderr output: bt_gatt_service

报错原因是setuptools版本太新了。
降低版本到58.2.0,再次尝试编译问题解决

pip install setuptools==58.2.0
上一篇 下一篇

猜你喜欢

热点阅读