Skip to content

ImportError: cannot import name 'builder' from 'google.protobuf.internal' #9778

@ptarjan

Description

@ptarjan

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:

  1. Use an older client library like 3.15.5.
  2. See error in title

What did you expect to see
No error

What did you see instead?
Title error

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions