Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"ImportError: No module named protobuf" on El Capitan with VirtualEnv #890
I followed instructions from here https://www.tensorflow.org/versions/0.6.0/get_started/os_setup.html#virtualenv_install and also updated protobuf:
brew reinstall --devel protobuf
The version I have is 3.0.0a3
I looked at the issues here and all remedies don't seem to work.
I apologize, I am new to this and wasn't sure what level of details is needed.
Host: El Capitan 10.11.3
Then I tried to test
I got this:
Traceback (most recent call last):
then I quit python and executed this:
$ brew reinstall --devel protobuf
this command :
I then try again with python, same commands as above, and get the exact same error as above.
Please let me know if you need other kind of details. I will send them.
tried Grzego's approach. Got a new error though...
I had the same problem on my Mac. Like @FiniteElementries, I ran into the error
After that, tensorflow works fine for me.
On El Capitan 10.11.6 and within Virtualenv environment, I've got:
I keep getting the following even after using the protobuf upgrade mentioned above. Any ideas?
I'm on El Capitan 10.12.1 using Python 2.7.12
On Mac OS - Installing tensorflow 1.3 - it will automatically remove other protobuf installs and install protobuf 3.4. However, this does not work and neither does installing or downgrading to any other protobuf version.
However I found a solution.