Tensorflow federated installation problem

I tried to install the TensorFlow federated on google colab notebook (later also on my local machine, which shows the same problem). while installing it by command !pip install --quiet --upgrade tensorflow-federated it shows the following dependency errors which I tried to update in notebook.

Later importing tensorflow federated with this command : import tensorflow_federated as tff
it shows the following errors:

forum_tff_2

What is the problem behind this and how can it be solved?

@Debashis_Gupta,

Welcome to the Tensorflow Forum!

tensorflow-federated is not compatible with Python versions prior to 3.9 and the default colab runtime uses Python 3.8.

Until colab updates their default runtime, we suggest executing the code locally or in an environment using Python 3.9.

Thank you!

1 Like