Skip to content Skip to sidebar Skip to footer

Import Tensorflow Error

I installed tensorflow using anaconda distribution and I am unable to use the same in python. When I import tensorflow using import tensorflow I get the following error: Traceback

Solution 1:

You should uninstall tensorflow as well, and make sure protobuf is uninstalled. You can try brew uninstall protobuf as well. Then reinstall protobuf, and tensorflow. Tensorflow requires protobuf version 3.x

pip install 'protobuf>=3.0.0a3'

You can test your protobuf version:

import google.protobuf
>>> print google.protobuf.__version__

Post a Comment for "Import Tensorflow Error"