美文网首页
Ros2编译python节点报错SetuptoolsDeprec

Ros2编译python节点报错SetuptoolsDeprec

作者: ArslanRobot | 来源:发表于2024-01-13 13:16 被阅读0次
    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
    

    相关文章

      网友评论

          本文标题:Ros2编译python节点报错SetuptoolsDeprec

          本文链接:https://www.haomeiwen.com/subject/abifodtx.html