tensorflow / cloud

The TensorFlow Cloud repository provides APIs that will allow to easily go from debugging and training your Keras and TensorFlow code in a local environment to distributed training in the cloud.
https://github.com/tensorflow/cloud
Apache License 2.0
372 stars 85 forks source link

Unable to pip install tensorflow_cloud in Colab #376

Open allankapoor opened 2 years ago

allankapoor commented 2 years ago

While attempting to follow this official tutorial in a Colab notebook, I run the first line of code to install tensorflow_cloud:

!pip install -q tensorflow_cloud

And get 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. multiprocess 0.70.12.2 requires dill>=0.3.4, but you have dill 0.3.1.1 which is incompatible. google-colab 1.0.0 requires requests~=2.23.0, but you have requests 2.26.0 which is incompatible. datascience 0.10.6 requires folium==0.2.1, but you have folium 0.8.3 which is incompatible.

When I try to import tensorflow_cloud with import tensorflow_cloud as tfc I get this error:

AlreadyExistsError: Another metric with the same name already exists.

Isn't tensorflow cloud designed to be run in Colab notebooks? Why does it have dependency conflicts with the standard Colab environment?

sharmadhiraj86 commented 2 years ago

I would like to contribute to this issue. So it would be great if you could assign me this issue ? @allankapoor @lamberta @mihaimaruseac @jaeyounkim @martinwicke

mihaimaruseac commented 2 years ago

We don't generally assign issue to contributors. Instead, please send a PR when ready.