This program requires version 3.5.0 of the Protocol Buffer runtime library
2018-01-08 16:39
399 查看
之前编译一个github上的风格迁移的项目时遇到这个问题
This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 3.0.0. 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".)
此程序需要的版本3.5.0的协议缓冲运行库,但安装的版本3.0.0。请更新您的库。如果你自己编译了这个程序,确保你的头是来自同一版本的协议缓冲区,作为你的链接时间库。(版本验证失败的“谷歌/ protobuf /描述符。铅。CC”。)
主要是因为caffe编译的时候默认的protobuf的版本是2.6.1,而Python通过pip install protobuf 安装的版本是最新版本3.4.0!
而在caffe环境中我们必须统一ProtoBuffer的版本才可以避免各种不易排查的错误!!
解决办法:
sudo pip uninstall protobuf
然后再重新安装:
sudo pip install protobuf==2.6.1
This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 3.0.0. 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".)
此程序需要的版本3.5.0的协议缓冲运行库,但安装的版本3.0.0。请更新您的库。如果你自己编译了这个程序,确保你的头是来自同一版本的协议缓冲区,作为你的链接时间库。(版本验证失败的“谷歌/ protobuf /描述符。铅。CC”。)
主要是因为caffe编译的时候默认的protobuf的版本是2.6.1,而Python通过pip install protobuf 安装的版本是最新版本3.4.0!
而在caffe环境中我们必须统一ProtoBuffer的版本才可以避免各种不易排查的错误!!
解决办法:
sudo pip uninstall protobuf
然后再重新安装:
sudo pip install protobuf==2.6.1
相关文章推荐
- This program requires version 3.4.0 of the Protocol Buffer runtime library
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of IntelliJ IDEA
- 装mysql时,报unable to find a version of the runtime to run this application
- 【转】This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in
- This version of the rendering library is more recent than your version of ADT plug-in. Please updat
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- 出现This version of the rendering library is more recent than your version of ADT plug-in. Please upda
- An incompatible version 1.1.1 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.17
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug in. Please update
- This version of the rendering library is more recent than your version of IntelliJ IDEA.
- This version of the rendering library is more recent than your version of ADT plug-in. Please update
- This version of the rendering library is more recent than your version of ADT plug-in. Please updat
- This version of the rendering library is more recent than your version of ADT plug-in. Please updat
- Unable to find a version of the runtime to run this application.【matlab】
- This template requires a more recent version of the Android Eclipse plugin. Please update from versi
- 安装mysql时,报“unable to find a version of the runtime to run this application ”
- This version of the rendering library is more ....