tensorflow / tensorflow/probability

instructions to build wheel from source not working

Open
#1,816 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hi.

The build instructions to build the wheel from source given in the readme file do not work.

bazel build --copt=-O3 --copt=-march=native :pip_pkg
mkdir -p dist && ./bazel-bin/pip_pkg dist

The build complains about a missing version.py file. This is because the paths in pip_pkg.sh are messed up. Seems no one builds from source these days (to my utter dismay) and this code has bit rot.

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

Read the source-build commands in the README and inspect pip_pkg.sh, then rerun the Bazel and dist commands to trace why version.py is not found. Done means the documented commands build the wheel from source without the missing-version.py error.

Written by the indexing model from the issue text.

Assessment

Tech stack
tensorflow
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.