tensorflow / tensorflow/probability
instructions to build wheel from source not working
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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