-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Traceback (most recent call last):
File "/opt/ros/melodic/share/genpy/cmake/../../../lib/genpy/genmsg_py.py", line 43, in
import genpy.generator
File "/opt/ros/melodic/lib/python2.7/dist-packages/genpy/init.py", line 34, in
from . message import Message, SerializationError, DeserializationError, MessageException, struct_I
File "/opt/ros/melodic/lib/python2.7/dist-packages/genpy/message.py", line 48, in
import yaml
File "/usr/lib/python3/dist-packages/yaml/init.py", line 284
class YAMLObject(metaclass=YAMLObjectMetaclass):
^
SyntaxError: invalid syntax
LVI-SAM-Easyused/CMakeFiles/lvi_sam_generate_messages_py.dir/build.make:67: recipe for target '/home/lya/test01_ws/devel/lib/python2.7/dist-packages/lvi_sam/msg/_cloud_info.py' failed
make[2]: *** [/home/lya/test01_ws/devel/lib/python2.7/dist-packages/lvi_sam/msg/_cloud_info.py] Error 1
CMakeFiles/Makefile2:3043: recipe for target 'LVI-SAM-Easyused/CMakeFiles/lvi_sam_generate_messages_py.dir/all' failed
make[1]: *** [LVI-SAM-Easyused/CMakeFiles/lvi_sam_generate_messages_py.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j1" failed
求助