-
Notifications
You must be signed in to change notification settings - Fork 345
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
Conflict between libraries tensorflow-metadata and protobuf #1115
Comments
TensorFlow recently upgraded the protobuf version they use, and TF Text by default uses the same to maintain compatibility. tensorflow-metadata needs a release with the updated dependency. See tensorflow/metadata#37 |
So what is the solution then? Just wait until the next release of tensorflow metedata? |
If you pin the protobuf to a lower version it will work. Before installing tensorflow_datasets, add the line:
Thanks for pointing this out. I'll update the colab. |
PiperOrigin-RevId: 520129712
PiperOrigin-RevId: 520129712
PiperOrigin-RevId: 520134846
Running the transformer tutorial raises an error installing the dependecies in the first execution cell
This cell
Gives this error
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. tensorflow-metadata 1.12.0 requires protobuf<4,>=3.13, but you have protobuf 4.22.1 which is incompatible.
The text was updated successfully, but these errors were encountered: