plyededede 2022-03-31 16:16
浏览 80
已结题

运行VINS进行cmake时候遇到这个问题,卸载enum却说没install

Base path: /home/ply/catkin_ws
Source space: /home/ply/catkin_ws/src
Build space: /home/ply/catkin_ws/build
Devel space: /home/ply/catkin_ws/devel
Install space: /home/ply/catkin_ws/install
#

Running command: "make cmake_check_build_system" in "/home/ply/catkin_ws/build"

CMake Error at CMakeLists.txt:22 (message):
Search for 'catkin' in workspace failed (catkin_find_pkg catkin
/home/ply/catkin_ws/src): Traceback (most recent call last):

File "/usr/bin/catkin_find_pkg", line 4, in <module>
  import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
  class RegexFlag(enum.IntFlag):

AttributeError: module 'enum' has no attribute 'IntFlag'

Error in sys.excepthook:

Traceback (most recent call last):

File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 62, in apport_excepthook
  if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
  import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
  class RegexFlag(enum.IntFlag):

AttributeError: module 'enum' has no attribute 'IntFlag'

Original exception was:

Traceback (most recent call last):

File "/usr/bin/catkin_find_pkg", line 4, in <module>
  import re
File "/usr/lib/python3.6/re.py", line 142, in <module>
  class RegexFlag(enum.IntFlag):

AttributeError: module 'enum' has no attribute 'IntFlag'

-- Configuring incomplete, errors occurred!
See also "/home/ply/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ply/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:1132: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

  • 写回答

0条回答 默认 最新

    报告相同问题?

    问题事件

    • 系统已结题 4月8日
    • 创建了问题 3月31日

    悬赏问题

    • ¥15 报酬10000,做一个简单的换汇网站
    • ¥15 关于#vue.js#的问题:word excel和ppt预览问题语言-javascript)
    • ¥15 Apache显示系统错误3该如何解决?
    • ¥30 uniapp小程序苹果手机加载gif图片不显示动效?
    • ¥20 js怎么实现跨域问题
    • ¥15 C++dll二次开发,C#调用
    • ¥15 请教,如何使用C#加载本地摄像头进行逐帧推流
    • ¥15 Python easyocr无法顺利执行,如何解决?
    • ¥15 为什么会突然npm err!啊
    • ¥15 java服务连接es读取列表数据,服务连接本地es获取数据时的速度很快,但是换成远端的es就会非常慢,这是为什么呢