I0329 20:38:56.742496 13649 layer_factory.hpp:77] Creating layer data
[libprotobuf FATAL google / protobuf / stubs / common.cc:61]此程序需要协议缓冲区运行时库的3.5.0版本,但安装的版本为2.6.1。请更新你的图书馆。如果您自己编译了程序,请确保您的标题来自与链接时库相同的Protocol Buffers版本。 (“google / protobuf / descriptor.pb.cc”中的版本验证失败。) 在抛出'google :: protobuf :: FatalException'的实例后终止调用 what():此程序需要协议缓冲区运行时库的3.5.0版本,但安装的版本是2.6.1。请更新你的图书馆。如果您自己编译了程序,请确保您的标题来自与链接时库相同的Protocol Buffers版本。 (“google / protobuf / descriptor.pb.cc”中的版本验证失败。) *在1522327138(unix时间)中止,如果您使用的是GNU日期 ,请尝试“date -d @ 1522327138” PC:@ 0x7f7ecf688428 gsignal 来自PID 13649的PID 13649(TID 0x7f7ed1f81b00)收到 SIGABRT(@ 0x3e900003551);堆栈跟踪:* @ 0x7f7ecf6884b0(未知) @ 0x7f7ecf688428 gsignal @ 0x7f7ecf68a02a中止 @ 0x7f7ed049c84d __gnu_cxx :: __ verbose_terminate_handler() @ 0x7f7ed049a6b6(未知) @ 0x7f7ed049a701 std :: terminate() @ 0x7f7ed049a919 __cxa_throw @ 0x7f7ed09e0647 google :: protobuf :: internal :: LogMessage :: Finish() @ 0x7f7ed09e087d google :: protobuf :: internal :: VerifyVersion() @ 0x7f7df22b1967 protobuf_google_2fprotobuf_2fdescriptor_2eproto :: InitDefaultsFileDescriptorSetImpl() @ 0x7f7ed09e0f75 google :: protobuf :: GoogleOnceInitImpl() @ 0x7f7df22aba45 protobuf_google_2fprotobuf_2fdescriptor_2eproto :: InitDefaultsFileDescriptorSet() @ 0x7f7df22ac5d9 protobuf_google_2fprotobuf_2fdescriptor_2eproto :: AddDescriptorsImpl() @ 0x7f7ed09e0f75 google :: protobuf :: GoogleOnceInitImpl() @ 0x7f7df22acbf5 protobuf_google_2fprotobuf_2fdescriptor_2eproto :: AddDescriptors() @ 0x7f7ed1dfd6ba(未知) @ 0x7f7ed1dfd7cb(未知) @ 0x7f7ed1e028e2(未知) @ 0x7f7ed1dfd564(未知) @ 0x7f7ed1e01da9(未知) @ 0x7f7ec6aa9f09(未知) @ 0x7f7ed1dfd564(未知) @ 0x7f7ec6aaa571(未知) @ 0x7f7ec6aa9fa1 dlopen @ 0x7f7ecfd108dd _PyImport_GetDynLoadFunc @ 0x7f7ecfd7f54e _PyImport_LoadDynamicModule @ 0x7f7ecfd80390(未知) @ 0x7f7ecfd80658(未知) @ 0x7f7ecfd8176b PyImport_ImportModuleLevel @ 0x7f7ecfceb8b8(未知) @ 0x7f7ecfd44273 PyObject_Call @ 0x7f7ecfe1a487 PyEval_CallObjectWithKeywords enter image description here
答案 0 :(得分:0)
您的问题似乎是您正在使用错误版本的libprotobuf:
[libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program
requires version 3.5.0 of the Protocol Buffer runtime library, but
the installed version is 2.6.1. Please update your library. If you
compiled the program yourself, make sure that your headers are from the
same version of Protocol Buffers as your link-time library. (Version
verification failed in "google/protobuf/descriptor.pb.cc".)
(编辑使其不是一条长线)