Open breimann opened 10 months ago
Same, impossible to install. It's a shame, because until now it worked very well.
I have the same issue, with things taking a turn for the worse at pip3 install, would really appreciate any help here! Also on Raspberry 4B, 4 GB, brand new, brand new and freshly formatted SD card, flashed with the official Pi imager.
With this and the similar issue posted recently it appeared to me the installation package may be broken. But I was able to create a new instance today running the command
curl -s https://raw.githubusercontent.com/mcguirepr89/BirdNET-Pi/main/newinstaller.sh | bash
on a fresh install of 2023-05-03-raspios-bullseye-arm64-lite.img
Here are the last few lines of the install script output
I have the same issue, with things taking a turn for the worse at pip3 install, would really appreciate any help here! Also on Raspberry 4B, 4 GB, brand new, brand new and freshly formatted SD card, flashed with the official Pi imager.
- pip3 install -U -r /home/nuthatch/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. The installation exited unsuccessfully.
Check your python version python -V
on the shell.
it expects python3.9 and you likely have python 3.11.2 installed. Bullseye 11.8 comes with 3.11.2 and so does bookworm.
Find an older image of RaspiOS to see if it works.
@breimann Edit this scripts/install_config.sh
Comment out the section that find your coordinates and add them in manually upto max 4 decimals:
# Retrieve latitude and longitude from web
#json=$(curl -s4 http://ip-api.com/json)
#if [ "$(echo "$json" | jq -r .status)" = "success" ]; then
# LATITUDE=$(echo "$json" | jq .lat)
# LONGITUDE=$(echo "$json" | jq .lon)
#else
# echo -e "\033[33mCouldn't set latitude and longitude automatically, you will need to do this manually from the web #interface by navigating to Tools -> Settings -> Location.\033[0m"
# LATITUDE=0.0000
# LONGITUDE=0.0000
#fi
LATITUDE=0.0000
LONGITUDE=0.0000
hi @sarvesh-lad , here's my version of python..
birder@birdnetpi:~ $ python --version Python 3.9.2
hi @sarvesh-lad , here's my version of python..
birder@birdnetpi:~ $ python --version Python 3.9.2
I too am now facing the same -_- gets hung up on installing language model.
Requirement already satisfied: smmap<6,>=3.0.1 in ./birdnet/lib/python3.9/site-packages (from gitdb<5,>=4.0.1->gitpython!=3.1.19->streamlit==1.19.0->-r /home/birdnet/BirdNET-Pi/requirements.txt (line 11)) (5.0.1)
Requirement already satisfied: mdurl~=0.1 in ./birdnet/lib/python3.9/site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->streamlit==1.19.0->-r /home/birdnet/BirdNET-Pi/requirements.txt (line 11)) (0.1.2)
tflite-runtime is already installed with the same version as the provided wheel. Use --force-reinstall to force an installation of the wheel.
+ cd /home/birdnet/BirdNET-Pi/scripts
+ ./install_language_label_nm.sh -l en
Archive: /home/birdnet/BirdNET-Pi/model/labels_nm.zip
inflating: /home/birdnet/BirdNET-Pi/model/labels_en.txt
Archive: /home/birdnet/BirdNET-Pi/model/labels_nm.zip
inflating: /home/birdnet/BirdNET-Pi/model/labels_en.txt
+ exit 0
I had this same problem, ended up needing to use [2022-04-04-raspios-bullseye-arm64-lite.img.xz] https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2022-04-07/2022-04-04-raspios-bullseye-arm64-lite.img.xz)
@MickW69, and did that work for you?
On Tue, 7 Nov 2023, 7:48 pm MickW69, @.***> wrote:
I had this same problem, ended up needing to use [2022-04-04-raspios-bullseye-arm64-lite.img.xz] https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2022-04-07/2022-04-04-raspios-bullseye-arm64-lite.img.xz )
— Reply to this email directly, view it on GitHub https://github.com/mcguirepr89/BirdNET-Pi/issues/1056#issuecomment-1798104246, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFY7RTQJPZCFBWMW72KM2V3YDH4HBAVCNFSM6AAAAAA6KVYKXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJYGEYDIMRUGY . You are receiving this because you were mentioned.Message ID: @.***>
Yes, installed successfully, up and running.
I had this same problem, ended up needing to use [2022-04-04-raspios-bullseye-arm64-lite.img.xz] https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2022-04-07/2022-04-04-raspios-bullseye-arm64-lite.img.xz)
I just tried doing this using your link to the Rpi os, installed that on my sd, booted up, and ran
curl -s https://raw.githubusercontent.com/mcguirepr89/BirdNET-Pi/main/newinstaller.sh | bash
And now i get nothing happening!! At all, like the login prompt just pauses and a new fresh login prompt comes up like it's done nothing with this command
About the only other thing I can mention is that each time an OS didn't work I would format and do a fresh write with the Pi imager to try the previous one. So, it took a while to go through the archive of 64bit lite options.
https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit
Good luck.
Same issue here with current 64 bit lite OS. Birdnet install fails with
ERROR: tflite_runtime-2.6.0-cp39-none-linux_aarch64.whl is not a supported wheel on this platform. The installation exited unsuccessfully.
Installed a fresh copy of Raspberry Pi OS (Legacy, 64 bit) lite, Bullseye released 2023-12-05. With that, install worked fine.
I had this same problem, ended up needing to use [2022-04-04-raspios-bullseye-arm64-lite.img.xz] https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2022-04-07/2022-04-04-raspios-bullseye-arm64-lite.img.xz)
I had (as many other users) the same issue. Hardware: brand new PI4 OS: bullseye 12.5 arm lite 64-bit (did the image with PI Imager) Python version 3.11
The error
ERROR: tflite_runtime-2.6.0-cp39-none-linux_aarch64.whl is not a supported wheel on this platform. The installation exited unsuccessfully.
appears as TensorFlow needs Python 3.9 to be executed.
Then I use this image [2022-04-04-raspios-bullseye-arm64-lite.img.xz] and follow the instruction again and it worked successfully.
Hi,
When I tried to install BirdNET Pi on a Raspberry Pi model 3, running Raspian OS/Bulls Eye I ran in to the same problem. Before I started the installation I did check the requirement section in the beginning of installation instruction, but the dependency on Pyhton 3.9 is not listed there. So my suggestion is that someone involved in the maintenance of BirdNET Pi adds undocumented requirements.
Describe the bug I can't install birdnetpi successfully on my new RPi 4 1GB
To Reproduce Steps to reproduce the behavior:
I get "The installation excited unsuccessfully" at error:
apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment.
Failing command: ['/home/birder/BirdNET-Pi/birdnet/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
The installation exited unsuccessfully.
Expected behavior A working installation of birdnetpi!
Your build Rpi 4 1GB (brand new), using a 64GB micro sd card
Code or log snippets
login as: birder birder@192.168.1.119's password: Linux birdnetpi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch6 4
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.
Wi-Fi is currently blocked by rfkill. Use raspi-config to set the country before use.
birder@birdnetpi:~ $ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/" birder@birdnetpi:~ $ uname -a Linux birdnetpi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch6 4 GNU/Linux birder@birdnetpi:~ $ cat /etc/debian_version 12.7 birder@birdnetpi:~ $ python --version Python 3.9.2 birder@birdnetpi:~ $ curl -s https://raw.githubusercontent.com/mcguirepr89/BirdNET-Pi/main/newinstaller.sh | bash Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] Get:2 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB] Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Get:4 http://archive.raspberrypi.org/debian bullseye InRelease [23.6 kB] Reading package lists... Done E: Release file for http://security.debian.org/debian-security/dists/bullseye-security/InRelease is not valid yet (invalid for another 171d 18h 17min 0s). Updates for this repository will not be applied. E: Release file for http://deb.debian.org/debian/dists/bullseye/InRelease is not valid yet (invalid for another 157d 7h 51min 19s). Updates for this repository will not be applied. E: Release file for http://deb.debian.org/debian/dists/bullseye-updates/InRelease is not valid yet (invalid for another 171d 22h 55min 32s). Updates for this repository will not be applied. E: Release file for http://archive.raspberrypi.org/debian/dists/bullseye/InRelease is not valid yet (invalid for another 170d 5h 14min 47s). Updates for this repository will not be applied. Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: git-man liberror-perl libjq1 libonig5 Suggested packages: git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs git-mediawiki git-svn The following NEW packages will be installed: git git-man jq liberror-perl libjq1 libonig5 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. Need to get 7,643 kB of archives. After this operation, 38.8 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main arm64 liberror-perl all 0.17029-1 [31.0 kB] Get:2 http://deb.debian.org/debian bullseye/main arm64 git-man all 1:2.30.2-1+deb11u2 [1,828 kB] Get:3 http://deb.debian.org/debian bullseye/main arm64 git arm64 1:2.30.2-1+deb11u2 [5,423 kB] Get:4 http://deb.debian.org/debian bullseye/main arm64 libonig5 arm64 6.9.6-1.1 [176 kB] Get:5 http://deb.debian.org/debian bullseye/main arm64 libjq1 arm64 1.6-2.1 [121 kB] Get:6 http://deb.debian.org/debian bullseye/main arm64 jq arm64 1.6-2.1 [64.5 kB] Fetched 7,643 kB in 3s (2,298 kB/s) Selecting previously unselected package liberror-perl. (Reading database ... 37710 files and directories currently installed.) Preparing to unpack .../0-liberror-perl_0.17029-1_all.deb ... Unpacking liberror-perl (0.17029-1) ... Selecting previously unselected package git-man. Preparing to unpack .../1-git-man_1%3a2.30.2-1+deb11u2_all.deb ... Unpacking git-man (1:2.30.2-1+deb11u2) ... Selecting previously unselected package git. Preparing to unpack .../2-git_1%3a2.30.2-1+deb11u2_arm64.deb ... Unpacking git (1:2.30.2-1+deb11u2) ... Selecting previously unselected package libonig5:arm64. Preparing to unpack .../3-libonig5_6.9.6-1.1_arm64.deb ... Unpacking libonig5:arm64 (6.9.6-1.1) ... Selecting previously unselected package libjq1:arm64. Preparing to unpack .../4-libjq1_1.6-2.1_arm64.deb ... Unpacking libjq1:arm64 (1.6-2.1) ... Selecting previously unselected package jq. Preparing to unpack .../5-jq_1.6-2.1_arm64.deb ... Unpacking jq (1.6-2.1) ... Setting up liberror-perl (0.17029-1) ... Setting up git-man (1:2.30.2-1+deb11u2) ... Setting up libonig5:arm64 (6.9.6-1.1) ... Setting up libjq1:arm64 (1.6-2.1) ... Setting up git (1:2.30.2-1+deb11u2) ... Setting up jq (1.6-2.1) ... Processing triggers for man-db (2.9.4-2) ... Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ... Cloning into '/home/birder/BirdNET-Pi'... remote: Enumerating objects: 132, done. remote: Counting objects: 100% (132/132), done. remote: Compressing objects: 100% (123/123), done. remote: Total 132 (delta 9), reused 61 (delta 5), pack-reused 0 Receiving objects: 100% (132/132), 146.11 MiB | 2.71 MiB/s, done. Resolving deltas: 100% (9/9), done. Updating files: 100% (121/121), done.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Reading package lists... Building dependency tree... Reading state information... debian-archive-keyring is already the newest version (2021.1.1+deb11u1). The following NEW packages will be installed: apt-transport-https debian-keyring 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 31.3 MB of archives. After this operation, 32.7 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian bullseye/main arm64 apt-transport-https all 2.2.4 [160 kB] Get:2 http://deb.debian.org/debian bullseye/main arm64 debian-keyring all 2021.07.26 [31.1 MB] Fetched 31.3 MB in 12s (2,716 kB/s) Selecting previously unselected package apt-transport-https. (Reading database ... 38726 files and directories currently installed.) Preparing to unpack .../apt-transport-https_2.2.4_all.deb ... Unpacking apt-transport-https (2.2.4) ... Selecting previously unselected package debian-keyring. Preparing to unpack .../debian-keyring_2021.07.26_all.deb ... Unpacking debian-keyring (2021.07.26) ... Setting up apt-transport-https (2.2.4) ... Setting up debian-keyring (2021.07.26) ...
Source: Caddy
Site: https://github.com/caddyserver/caddy
Repository: Caddy / stable
Description: Fast, multi-platform web server with automatic HTTPS
deb [signed-by=/usr/share/keyrings/caddy-stable-archive-keyring.gpg] https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version main
deb-src [signed-by=/usr/share/keyrings/caddy-stable-archive-keyring.gpg] https://dl.cloudsmith.io/public/caddy/stable/deb/debian any-version main
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: Release file for http://deb.debian.org/debian/dists/bullseye/InRelease is not valid yet (invalid for another 157d 7h 49min 34s). Updates for this repository will not be applied. E: Release file for http://security.debian.org/debian-security/dists/bullseye-security/InRelease is not valid yet (invalid for another 171d 18h 15min 14s). Updates for this repository will not be applied. E: Release file for http://deb.debian.org/debian/dists/bullseye-updates/InRelease is not valid yet (invalid for another 171d 22h 53min 47s). Updates for this repository will not be applied. E: Release file for https://dl.cloudsmith.io/public/caddy/stable/deb/debian/dists/any-version/InRelease is not valid yet (invalid for another 161d 18h 59min 59s). Updates for this repository will not be applied. E: Release file for http://archive.raspberrypi.org/debian/dists/bullseye/InRelease is not valid yet (invalid for another 170d 5h 13min 1s). Updates for this repository will not be applied.
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
E: Unable to locate package caddy
python3 -m venv birdnet The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.
apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment.
Failing command: ['/home/birder/BirdNET-Pi/birdnet/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
The installation exited unsuccessfully.
birder@birdnetpi:~ $ sudo apt-get install python3-venv Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: python-pip-whl python3-distutils python3-lib2to3 python3.9-venv The following NEW packages will be installed: python-pip-whl python3-distutils python3-lib2to3 python3-venv python3.9-venv 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 2,229 kB of archives. After this operation, 3,469 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://deb.debian.org/debian bullseye/main arm64 python3-lib2to3 all 3.9.2-1 [77.8 kB] Get:2 http://deb.debian.org/debian bullseye/main arm64 python3-distutils all 3.9.2-1 [143 kB] Get:3 http://deb.debian.org/debian bullseye/main arm64 python3.9-venv arm64 3.9.2-1 [5,396 B] Get:4 http://deb.debian.org/debian bullseye/main arm64 python3-venv arm64 3.9.2-3 [1,188 B] Get:5 http://archive.raspberrypi.org/debian bullseye/main arm64 python-pip-whl all 20.3.4-4+rpt1+deb11u1 [2,002 kB] Fetched 2,229 kB in 3s (642 kB/s) Selecting previously unselected package python-pip-whl. (Reading database ... 38740 files and directories currently installed.) Preparing to unpack .../python-pip-whl_20.3.4-4+rpt1+deb11u1_all.deb ... Unpacking python-pip-whl (20.3.4-4+rpt1+deb11u1) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../python3-lib2to3_3.9.2-1_all.deb ... Unpacking python3-lib2to3 (3.9.2-1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../python3-distutils_3.9.2-1_all.deb ... Unpacking python3-distutils (3.9.2-1) ... Selecting previously unselected package python3.9-venv. Preparing to unpack .../python3.9-venv_3.9.2-1_arm64.deb ... Unpacking python3.9-venv (3.9.2-1) ... Selecting previously unselected package python3-venv. Preparing to unpack .../python3-venv_3.9.2-3_arm64.deb ... Unpacking python3-venv (3.9.2-3) ... Setting up python-pip-whl (20.3.4-4+rpt1+deb11u1) ... Setting up python3-lib2to3 (3.9.2-1) ... Setting up python3-distutils (3.9.2-1) ... Setting up python3.9-venv (3.9.2-1) ... Setting up python3-venv (3.9.2-3) ... birder@birdnetpi:~ $ cd && uninstall.sh && rm -drfv BirdNET* && curl -s https://raw.githubusercontent.com/mcguirepr89/BirdNET-Pi/main/newinstaller.sh | bash
The installation exited unsuccessfully. birder@birdnetpi:~ $