目前我得到的tensorflow使用RNN此錯誤:的Protobuf版本不匹配
[libprotobuf致命谷歌/的protobuf /株/ common.cc:61]這個程序 需要協議的3.3.0版本緩衝區運行時庫,但 安裝版本是2.6.1。請更新你的圖書館。如果你自己編譯了程序 ,請確保你的頭文件與的協議緩衝區版本號相同。 (版本驗證在 「bazel -out/local_linux-opt/genfiles/tensorflow/contrib/tensor_forest/proto/fertile_stats.pb.cc」失敗。) 終止在調用 的實例後調用'google :: protobuf :: FatalException'
what():該程序需要版本3.3.0的協議緩衝區 運行時庫,但安裝的版本是2.6.1。請更新 您的圖書館。如果您自己編譯程序,請確保 標頭來自與您的 鏈接時庫相同版本的協議緩衝區。 (版本覈查 失敗 「巴澤爾輸出/ local_linux-OPT/genfiles/tensorflow /的contrib/tensor_forest /原/ fertile_stats.pb.cc」。)
但是,當我檢查版本:
$ pip show protobuf
Name: protobuf
Version: 3.4.0
Summary: Protocol Buffers
Home-page: https://developers.google.com/protocol-buffers/
Author: [email protected]
Author-email: [email protected]
License: 3-Clause BSD License
Location: /usr/local/lib/python2.7/dist-packages
Requires: six, setuptools