简体   繁体   中英

How to install Tensorflow federated on Google Colab?

I want to install Tensorflow Federated learning in Google Colab but I face this error( with many different dependencies not only this one)

!pip install --quiet tensorflow_federated
!pip install --quiet  tf-nightly
RROR: 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.
tf-nightly 2.10.0.dev20220529 requires tf-estimator-nightly~=2.10.0.dev, but you have tf-estimator-nightly 2.8.0.dev2021122109 which is incompatible.
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 2.8.0+zzzcolab20220506162203 requires tf-estimator-nightly==2.8.0.dev2021122109, but you have tf-estimator-nightly 2.10.0.dev2022052908 which is incompatible.

How to resolve this? Am I doing something wrong?

I would say try to create new run time ( google collab will show button after failure) and re-run the install. it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM