tensorflow / tensorflow/cloud

Unable to pip install tensorflow_cloud in Colab

Open
#376 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
383
Forks
93
Avg merge
1d 3h
Merged PRs (30d)
1

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the pip install and import steps in the linked Colab tutorial, then inspect tensorflow_cloud's package dependencies against the standard Colab environment. Done means the documented installation and import complete without the reported dependency conflicts or duplicate-metric error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.