tensorflow / tensorflow/datasets

TFDS CLI requires apache-beam and is not installed by pip

Open
#5,463 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
4.6k
Forks
1.6k
Avg merge
3h 54m
Merged PRs (30d)
1

Description

Short description

Installing only tfds-nightly via pip doesn't allow using it.
One needs to install apache-beam as well

Environment information

  • Operating System: Google Colab

  • Python version: 3.10.12

  • tensorflow-datasets/tfds-nightly version: TensorFlow Datasets: 4.9.6+nightly

  • Does the issue still exists with the last tfds-nightly package (pip install --upgrade tfds-nightly) ?

Yes

Reproduction instructions
https://gist.github.com/lbo462/9721f51f74ce6bc4aec8d34147bceb27

Link to logs
https://gist.github.com/lbo462/9721f51f74ce6bc4aec8d34147bceb27

Expected behavior
Either pip should install apache-beam on its own, or the documentation should tell to install it.

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 with the linked reproduction and logs, then read the TFDS CLI documentation linked in the issue. Determine whether installing tfds-nightly should include apache-beam or whether the documentation should state that it is required; the issue is done when a fresh installation provides a usable CLI or clearly documents the additional installation step.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.