Welcome to the Tensorflow Forum!
The builder.py
file is missing from the protobuf
package created from TensorFlow. A workaround is to simply copy the latest copy of builder.py
from the protobuf
repository into your local drive
wget https://raw.githubusercontent.com/protocolbuffers/protobuf/main/python/google/protobuf/internal/builder.py -O [PROTOBUF_PATH]/lib/python3.10/site-packages/google/protobuf/internal/builder.py
Thank you!
Is there any plan to patch this issue? Working in a monorepo/bazel environment, this workaround is non-trivial to integrate into our build process.