ROS noetic用的是python3,所以要为其创造符号链接,使用如下命令: sudo ln -s /usr/bin/python3 /usr/bin/python 参考:ROS noetic 报错 “/usr/bin/env: “python”: 没有那个文件或目录”