-
I'm trying to do the script based install - once it gets to installing the requirements file it stalls installing tflite_runtime:
The file exists in the directory - if I try to pip install it by hand, I get the same error. I'm not sure where to go from here, and other answers to this question do not seem to apply or have not helped. Thanks for any suggestions. This is on a Pi4B+, the setup is: Linux raspi42 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux NAME="Raspbian GNU/Linux" Python:
|
Beta Was this translation helpful? Give feedback.
Replies: 14 comments 13 replies
-
You are using a 32 bit platform. The included version of Tensorflow is for 64 bit platforms. |
Beta Was this translation helpful? Give feedback.
-
Sorry - nevermind - I don't know I ended up with a 32bit python. I installed a distro from scratch, and all is OK... |
Beta Was this translation helpful? Give feedback.
-
I have the very same problem but working on a 64bit platform. |
Beta Was this translation helpful? Give feedback.
-
Can confirm this problem on a (non-raspberry) arm64 platform. The board is a "Le potato": https://libre.computer/products/aml-s905x-cc/ I know Raspberry Pi is the only platform supported officially, but since it is almost impossible to source Raspberry Pi boards (for a long time now) I was hoping to set up my second and third stations using Le Potato.
|
Beta Was this translation helpful? Give feedback.
-
Please see this related issue, I commented a fix that I think should work if you scroll down |
Beta Was this translation helpful? Give feedback.
-
In my case the output of the Python command you suggested ( |
Beta Was this translation helpful? Give feedback.
-
minivip is the hostname, it's a Raspberry PI 4 |
Beta Was this translation helpful? Give feedback.
-
I rebuilt Python from source code, the default version was 3.7, so no good for BirdNET |
Beta Was this translation helpful? Give feedback.
-
@ehpersonal38 I appear to be on the correct Python version but the platform version is 32bit and not 64bit. I could try to load Python 3.9.2 64bit before I run the curl command but it appears that the 32bit version is being picked up somewhere in that script that was provided. Therefore, my install of Python 64bit would then be written over by the Python 32bit with the script execution. I hesitate to debug the script since I am novice. Thoughts? |
Beta Was this translation helpful? Give feedback.
-
The problem remains. I have newly installed Pi4 64, and the script is installing a 64bit Python version. Think there is a mismatch between the version in the tflite (3.9) and the automatically installed Python version (3.11). Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux system: ERROR: tflite_runtime-2.6.0-cp39-none-linux_aarch64.whl is not a supported wheel on this platform So, if this is the problem indeed, how can we have the installation script referring to cp311 instead of cp 39? |
Beta Was this translation helpful? Give feedback.
-
I'm also getting the same error, but on a Raspberry Pi 5 . . .
cat /etc/os-release --> PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" Does this work on Pi5 yet? |
Beta Was this translation helpful? Give feedback.
-
I just ran into the same problem with a fresh install on my Pi4
but as far as I know I'm on a 64bit OS
The first check is passed.
Maybe it is related to this: piwheels does not currently support aarch64 Trying to compile TFlite using this guide download the latest TensorFlow version (2.6.0) unpack and give the folder a convenient name get the dependencies run the C++ installation After that I commented out the wheel from the requirements.txt and ran the installer again. That's where I'm stuck now. I ended up using this repo, which has been updated to work with the current version of Raspbian: https://github.com/pddpauw/BirdPi |
Beta Was this translation helpful? Give feedback.
-
Still broken 🫤 |
Beta Was this translation helpful? Give feedback.
-
The legacy OS on the Imager app that works is "Raspberry Pi OS (Legacy, 64-bit) Lite - A port of Debian Bullseye with security updates and no desk top environment - released: 2024-03-12 - on line 0.3 GB download". It's the next to the last one in the dropdown menu after selecting "Raspberry Pi OS (other), 4th down in the main menu. I tried all the other (Legacy, 64-bit) versions and they all gagged at the error message referenced in the heading. But this one installed successfully. |
Beta Was this translation helpful? Give feedback.
You are using a 32 bit platform. The included version of Tensorflow is for 64 bit platforms.