【protobuf】Protocol Buffer版本冲突造成Aborted (core dumped)

1 报错情况

This program was compiled against version 3.6.1 of the Protocol Buffer runtime library, which is not compatible with the installed version (3.19.4). 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.
Aborted (core dumped)

说的很清楚,是Protocol Buffer版本冲突

2 解决方案

安装对应版本的protobuf即可。

pip install protobuf==3.6.1

猜你喜欢

转载自blog.csdn.net/weixin_45377629/article/details/126719911