BirdNET-Pi icon indicating copy to clipboard operation
BirdNET-Pi copied to clipboard

Further Installation Issues

Open alecjcook opened this issue 2 years ago • 5 comments

The following steps were taken to install birdnet-pi

  • Installer the latest Raspbien Lite OS-64 on USB using the Raspberry Pi Imager v1.8.4
  • Used the raspi-config to expand the file system and rebooted
  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install git jq
  • run curl -s https://raw.githubusercontent.com/mcguirepr89/BirdNET-Pi/main/newinstaller.sh | bash

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

alecjcook avatar Jan 22 '24 14:01 alecjcook

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

stevedee avatar Jan 22 '24 16:01 stevedee

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

alecjcook avatar Jan 22 '24 17:01 alecjcook

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.

Svardsten53 avatar Jan 28 '24 15:01 Svardsten53

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.

sarvesh-lad avatar Feb 16 '24 23:02 sarvesh-lad

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

alexbelgium avatar May 16 '24 20:05 alexbelgium