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

Tensorflow 2.7 Buster/Bullseye #4

Open
barthm1 opened this issue Nov 27, 2021 · 3 comments
Open

Tensorflow 2.7 Buster/Bullseye #4

barthm1 opened this issue Nov 27, 2021 · 3 comments

Comments

@barthm1
Copy link

barthm1 commented Nov 27, 2021

sudo -H pip3 install tensorflow-2.7.0-cp39-cp39-linux_aarch64.whl
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing ./tensorflow-2.7.0-cp39-cp39-linux_aarch64.whl
Collecting google-pasta>=0.1.1
Downloading https://www.piwheels.org/simple/google-pasta/google_pasta-0.2.0-py3-none-any.whl (57 kB)
|████████████████████████████████| 57 kB 835 kB/s
Requirement already satisfied: h5py>=2.9.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow==2.7.0) (3.1.0)
Requirement already satisfied: wrapt>=1.11.0 in /usr/lib/python3/dist-packages (from tensorflow==2.7.0) (1.12.1)
Collecting flatbuffers<3.0,>=1.12
Downloading https://www.piwheels.org/simple/flatbuffers/flatbuffers-2.0-py2.py3-none-any.whl (26 kB)
Requirement already satisfied: six>=1.12.0 in /usr/lib/python3/dist-packages (from tensorflow==2.7.0) (1.16.0)
ERROR: Could not find a version that satisfies the requirement tensorflow-io-gcs-filesystem>=0.21.0 (from tensorflow)
ERROR: No matching distribution found for tensorflow-io-gcs-filesystem>=0.21.0

Same error on both OS versions

@Qengineering
Copy link
Owner

Dear @barthm1,

Sorry for the inconvenience. We hadn't got the time to validate the installation yet.
However, Sebastijan mentioned the same issue. Here is his solution.

I have RPI 4, installed 64bit Bullseye. I tried to install tensorflow following your guide for python 3.9 and tensorflow 2.7.0 and got message:

ERROR: Could not find a version that satisfies the requirement tensorflow-io-gcs-filesystem>=0.21.0 (from tensorflow) (from versions: none)
ERROR: No matching distribution found for tensorflow-io-gcs-filesystem>=0.21.0

I think your .whl is missing tensorflow_io_gcs_filesystem package.

Had to download and build tensorflow-io-0-22-0
Execute command:
python -m build
python setup.py -q bdist_wheel --project tensorflow_io_gcs_filesystem

Finally last command created tensorflow_io_gcs_filesystem-0.22.0-cp39-cp39-linux_aarch64.whl in dist folder, which I manually installed with pip. After that installing tensorflow 2.7.0 was a breeze.
I am noob with python packages and all, but you can make something out of it. I hope I helped a bit.

@barthm1
Copy link
Author

barthm1 commented Nov 29, 2021

The next problem arises with libclang 9.0.1 - I installed 11.0.0 - but this doesn't work

@Qengineering
Copy link
Owner

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

2 participants