[libprotobuf致命
google / protobuf / src / google / protobuf / stubs / common.cc:67]此程序
需要协议缓冲区运行时库的3.3.0版本,但是
安装的版本是3.0.0。请更新您的图书馆。如果你
自己编译程序,确保头文件来自
与链接时库相同版本的协议缓冲区。
(“ google / protobuf / descriptor.pb.cc”中的版本验证失败。)
抛出的实例后终止调用
'google :: protobuf :: FatalException'
what():此程序需要协议缓冲区运行时库的3.3.0版本,但已安装的版本为3.0.0。请
更新您的图书馆。如果您自己编译程序,请确保
您的标头来自与以下版本相同的协议缓冲区
您的链接时间库。 (版本验证失败
“ google / protobuf / descriptor.pb.cc”。)
中止(核心已弃用)
我为Ubuntu计算机cpu版本安装了tesorflow。安装进行顺利。但是当我这样做时:
import tensorflow
我收到上述错误。我尝试重新安装protobuf,但没有任何反应。
请帮忙。谢谢。
参考方案
如错误所示,您的protobuf版本是3.0.0,不匹配3.3.0。我建议卸载protobuf并安装所需的protobuf版本,或对其进行升级。您还可以参考此github issue和this github issue
Python sqlite3数据库已锁定 - python
我在Window