报错如下:
[libprotobuf FATAL third_party/protobuf-lite/common.cc:87] This program was compiled against version 3.13.0 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.14.0). Contact the program author for an update. 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/any.pb.cc”.)
terminate called after throwing an instance of ‘google::protobuf::FatalException’
what(): This program was compiled against version 3.13.0 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.14.0). Contact the program author for an update. 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/any.pb.cc”.)
Aborted (core dumped)文章来源:https://www.toymoban.com/news/detail-755438.html
解决方法:
卸载原来的protobuf
按照tensorboard版本,安装对应的低版本 protobuf文章来源地址https://www.toymoban.com/news/detail-755438.html
pip install protobuf==0.6.0
到了这里,关于protobuf版本不兼容问题的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!