ros2-humble 运行turtlebot3

版本:ros2-humble

在工作空间 tb3_ws 下执行 colcon build --symlink-install ,提示Easy Install Deprecation Warning: easy_install command is deprecated. Use build and pip and other standards-based tools.,最后提示出现两个标准错误,如下图

 原因:是python的问题(具体参考下方链接)

解决方法:执行下面两条命令

sudo apt install python3-pip

pip install setuptools==58.2.0

然后再次编译执行 colcon build --symlink-instal,发现编译成功。

解决方法参考链接  https://answers.ros.org/question/396439/setuptoolsdeprecationwarning-setuppy-install-is-deprecated-use-build-and-pip-and-other-standards-based-tools/

猜你喜欢

转载自blog.csdn.net/m0_67517854/article/details/131056268