-
Notifications
You must be signed in to change notification settings - Fork 15.5k
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: cannot import name 'builder' from 'google.protobuf.internal' #9778
Comments
"Use an older client library like 3.15.5." We only guarantee old generated code work with new runtime, but new version of generated code may not work with old runtime. Use 3.20 version of protoc with 3.15 runtime is not what we generated "If so, is there a required client library upgrade to version 3.20.0 now?" |
i face this problem any body help plz TypeError: Cannot set tensorflow.TrackableObjectGraph.TrackableObject.ObjectReference.local_name to None: None has type <class 'NoneType'>, but expected one of: (<class 'bytes'>, <class 'str'>) |
Try the solution mentioned here, this had worked for me. |
This works for me! Thank you. |
https://stackoverflow.com/questions/71759248/importerror-cannot-import-name-builder-from-google-protobuf-internal
This seems to have changed between 3.19.4 and 3.20.0. Is this an intentional backward incompatibility? If so, is there a required client library upgrade to version 3.20.0 now?
What version of protobuf and what language are you using?
Version: main/v3.6.0/v3.5.0 etc.
Language: Python
What operating system (Linux, Windows, ...) and version?
Linux
What runtime / compiler are you using (e.g., python version or gcc version)
3.20.0
What did you do?
Steps to reproduce the behavior:
What did you expect to see
No error
What did you see instead?
Title error
The text was updated successfully, but these errors were encountered: