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

Further Installation Issues #1111

Open
alecjcook opened this issue Jan 22, 2024 · 5 comments
Open

Further Installation Issues #1111

alecjcook opened this issue Jan 22, 2024 · 5 comments

Comments

@alecjcook
Copy link

alecjcook commented Jan 22, 2024

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
@stevedee
Copy link

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

@alecjcook
Copy link
Author

#1049
Install OS "PI OS Legacy 64-Bit"
This installation guide is out of date...

@Svardsten53
Copy link

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
Copy link

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
Copy link

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

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

5 participants