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
Couldn't find field google.protobuf.EnumDescriptorProto.EnumReservedRange.start #14689
Comments
I'm having the same problem. |
Maybe you've tried tf-nightly or something? Anyway, try reinstalling the protobuf version that TensorFlow 1.4 wants by running: pip uninstall protobuf
pip install tensorflow
python -c "import tensorflow" |
No, your answer is incorrect. Tensorflow 1.4 uninstalls protobuf and reinstalls it so I think we need to dig deeper into this. |
Do you have multiple installs of protobuf in the same Python environment? |
On my mac it all works like a charm including eager execution with nightly build update. It's just on my Ubuntu GPU box , its dying :/ I'll see if downgrading to 3.4.0 gives some positive results. |
OK, here is the solution -- funny but worked for me 👯♂️ I uninstalled protobuf 3.5.0.post1, which comes with TF 1.4.1 distro, installed 3.4.0 release and then installed 3.5.0.post1. deeplearn@Ubuntu-1604-xenial-64-minimal:~$ pip install protobuf==3.4.0
Requirement already satisfied: protobuf==3.4.0 in ./anaconda3/lib/python3.6/site-packages
Requirement already satisfied: setuptools in ./anaconda3/lib/python3.6/site-packages (from protobuf==3.4.0)
Requirement already satisfied: six>=1.9 in ./anaconda3/lib/python3.6/site-packages (from protobuf==3.4.0)
deeplearn@Ubuntu-1604-xenial-64-minimal:~$ pip install protobuf==3.5.0.post1
Collecting protobuf==3.5.0.post1
Using cached protobuf-3.5.0.post1-py2.py3-none-any.whl
Requirement already satisfied: six>=1.9 in ./anaconda3/lib/python3.6/site-packages (from protobuf==3.5.0.post1)
Requirement already satisfied: setuptools in ./anaconda3/lib/python3.6/site-packages (from protobuf==3.5.0.post1)
Installing collected packages: protobuf
Found existing installation: protobuf 3.4.0
Uninstalling protobuf-3.4.0:
Successfully uninstalled protobuf-3.4.0
Successfully installed protobuf-3.5.0.post1
deeplearn@Ubuntu-1604-xenial-64-minimal:~$ as a result, this baby's working :) |
I run into the same problem, and your solution works for me. |
Glad to hear 😃 |
check if your
If both installed, uninstall one of them |
I tried all... i tried reinstalling protobuf, tensorflow but still the same issue :( |
Thanks @TarrySingh Your solution worked for me |
Thank you @TarrySingh. Your solution works like charm ^_^ |
In my case |
Awesome to hear that 👌 @zumbalambo — you need to share your error. |
@TarrySingh your solution worked for me as well! |
Thanks @TarrySingh, pip install protobuf==3.4.0 solved the problem! |
@TarrySingh didn't immediately help but upgrading all pip packages did:
Hope it helps. |
came with the same issue, I solved it with these commands:
thanks @gokceneraslan and @TarrySingh |
In my case tf 1.4.1 works only with protobuf 3.4.0:
Upgrading protobuf to 3.5.x results in |
I find this solution really helpful:
|
1、remove all the protobuf, by pip list, conda list and so on |
@TarrySingh thanks 大傻猫,你真棒👍 |
Im trying to run the following code
It is firing the following error
The text was updated successfully, but these errors were encountered: