roslaunch robot_sim_demo 打不开场景,出现问题:Cannot load command parameter [robot_description]: command [/opt/ros/kinetic/share/xacro/xacro.py /home/star/catkin_ws/src/ROS-Academy-for-Beginners/robot_sim_demo/urdf/robot.xacro] returned with code [1].

while processing /home/star/catkin_ws/src/ROS-Academy-for-Beginners/robot_sim_demo/launch/include/xbot-u.launch.xml:
Invalid tag: Cannot load command parameter [robot_description]: command [/opt/ros/kinetic/share/xacro/xacro.py /home/star/catkin_ws/src/ROS-Academy-for-Beginners/robot_sim_demo/urdf/robot.xacro] returned with code [1].

Param xml is
The traceback for the exception was written to the log file

想问大佬们怎么解决……完全百度不到解决方案……第一个demo都打不开……

这个错误应该是python的问题,看上面的log 明显提示no module name ‘re’,所以尝试pip install re试试