Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

instructions to build wheel from source not working #1816

Open
gl-yziquel opened this issue Jun 21, 2024 · 1 comment
Open

instructions to build wheel from source not working #1816

gl-yziquel opened this issue Jun 21, 2024 · 1 comment

Comments

@gl-yziquel
Copy link

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.

@gl-yziquel
Copy link
Author

The PR above seems to fix paths and generate a wheel, that does install with pip install.

However, I have little experience with tensorflow-probability, so I do not know how functional that wheel is. I'll try it out...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant