New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"ImportError: No module named protobuf" on El Capitan with VirtualEnv #890
Comments
There is not nearly enough information for anybody to help. If you add more information about your setup, what you've tried, etc., we might be able to offer help, and I'll reopen the issue. |
I apologize, I am new to this and wasn't sure what level of details is needed. Host: El Capitan 10.11.3 Repro steps: Then I tried to test $ python
I got this: Traceback (most recent call last): then I quit python and executed this: $ brew reinstall --devel protobuf this command : shows: 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. Thanks, |
Exactly same question here. |
I had the same error and those steps worked for me (although I did not use any virtual environments):
|
tried Grzego's approach. Got a new error though...
|
ended up creating a new virtualenv and now it's working. noticed a new protobuf was installed |
I had the same problem on my Mac. Like @FiniteElementries, I ran into the error
After that, tensorflow works fine for me. |
Try this. Will likely solve the problem |
I ran into the same problems, which are likely due to conflict with old versions. |
as markusdr said, it worked! thanks! |
On El Capitan 10.11.6 and within Virtualenv environment, I've got:
|
May want to look at this issue: #1415 |
I got the same problem. It could be fixed by sudo pip install --upgrade protobuf and then protobuf-3.0.0 will be replaced by protobuf-3.1.0. Nailed it. |
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
|
This is a very annoying problem. I fixed the problem by following @markusdr. pip install --upgrade protobuf==3.4.0 Hope this helps! |
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.
|
meet same problems. |
Hello,
When I try importing tensorflow in Python I get "ImportError: No module named protobuf".
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.
Any clue?
Thx
The text was updated successfully, but these errors were encountered: