Error Infomation
1 | /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/tensorflow/core/framework/resource_handle_pb2.py in <module>() |
Environment
- Tensorflow 1.6
- Protobuf(installed by pip) 3.5.2.post1
- Protobuf(installed by brew) 3.3.0
Reason
The protobuf
package version mismatch with tensorflow.
And I, don’t know when, installed protobuf 3.3.0 by brew.
The latest protobuf(3.5.2.post1)
install by pip doesn’t disturbing tensorflow.
Solution
1 | brew uninstall protobuf |
Run this in terminal to uninstall the hidden protobuf
and everything get well.