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:
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
.
],
keywords='tensorflow federated machine learning',
project_urls={
'Issues': 'https://github.com/tensorflow/federated/issues',
'Releases': 'https://github.com/tensorflow/federated/releases',
'Source': 'https://github.com/tensorflow/federated',
'Documentation': 'https://www.tensorflow.org/federated',
},
packages=setuptools.find_packages(exclude=['tools']),
install_requires=REQUIRED_PACKAGES,
python_requires='>=3.9.0,<3.11',
)
Until colab updates their default runtime, we suggest executing the code locally or in an environment using Python 3.9.
Thank you!
1 Like