mcguirepr89 / BirdNET-Pi

A realtime acoustic bird classification system for the Raspberry Pi 4B, 3B+, and 0W2 built on the TFLite version of BirdNET.
Other
1.28k stars 137 forks source link

Further Installation Issues #1111

Open alecjcook opened 8 months ago

alecjcook commented 8 months ago

The following steps were taken to install birdnet-pi

The installation process ends thus:

+ pip3 install -U -r /home/birder/BirdNET-Pi/requirements.txt
ERROR: Invalid requirement: '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' (from line 1 of /home/birder/BirdNET-Pi/requirements.txt)
The installation exited unsuccessfully.

cat /home/birder/BirdNET-Pi/requirements.txt shows an empty file

if i try and fix this by: wget https://github.com/mcguirepr89/BirdNET-Pi/blob/main/requirements.txt /home/birder/BirdNET-Pi/requirements.txt and then restart the installation with bash $HOME/BirdNET-Pi/scripts/install_birdnet.sh I eventually get the following error:

+ pip3 install -U -r /home/birder/BirdNET-Pi/requirements.txt
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
ERROR: tflite_runtime-2.6.0-cp39-none-linux_aarch64.whl is not a supported wheel on this platform.

I can confirm that in reference to issue #847 that I am running a 64-bit OS

uname -a
Linux birdnetpi1 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux

my sources are as follows

deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
stevedee commented 8 months ago

I'm pretty sure you still need Debian "Bullseye" (Legacy) not the latest OS version.

alecjcook commented 8 months ago

https://github.com/mcguirepr89/BirdNET-Pi/issues/1049 Install OS "PI OS Legacy 64-Bit" This installation guide is out of date...

Svardsten53 commented 8 months ago

I just tried an installation on a Raspberry Pi 4B 8GB without any problems. I guess it's important what version of OS you are using. This file works: 2023-05-03-raspios-bullseye-arm64-lite.img.xz You must specifically select the file in the Raspberry Pi Imager.

sarvesh-lad commented 7 months ago

From what I gather the install_services.sh has php before php-fpm and php requires apache2 which is a new debian version thing

so moving it after php-fpm doesn't install apache:

Are you able to test this:

https://github.com/sarvesh-lad/BirdNET-Pi/

curl -s https://raw.githubusercontent.com/sarvesh-lad/BirdNET-Pi/main/newinstaller.sh | bash

Notes on my fork:

  1. it assumes 0 as LATTITUDE and LONGITUDE cause that IP-API site is finicky, you can always change that in settings
  2. it installs tfruntime directly from pip
  3. Has the install services fix I mentioned above.
alexbelgium commented 4 months ago

There's is a new fork solving installation issues here : https://github.com/Nachtzuster/BirdNET-Pi