federated
federated copied to clipboard
Environment set up error, Google Colab
Describe the bug https://colab.sandbox.google.com/github/tensorflow/federated/blob/v0.34.0/docs/tutorials/building_your_own_federated_learning_algorithm.ipynb#scrollTo=ZrGitA_KnRO0
In the [Beforeyou start] section, the cell produces the following result:
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. pymc 4.1.4 requires cachetools>=4.2.1, but you have cachetools 3.1.1 which is incompatible. google-colab 1.0.0 requires portpicker~=1.3.1, but you have portpicker 1.5.2 which is incompatible.
Environment (please complete the following information): Python 3 Google Compute Engine backend
Expected behavior The environment should be correctly set up according to the instruction.
Additional context I tried other tutorials about tensorflow federated learning and they all ran into the same problem.
I am facing the same issue.
Same.
- You need to use a Google colab runtime that does not contain incompatible python packages. You can either create your own runtime or use the default runtime and uninstall all the offending packages. Or you could ignore the errors and continue running the colab.
- Google colab is running Python 3.7 and TFF requires Python 3.9 or greater.