If you notice an error, please don't hesitate to open an issue.
# update
sudo apt update
# install Python 3.11 for ensuring that tests can be run
sudo apt install python3-pip \
python3.11 python3.11-dev python3.11-distutils python3.11-venv
# check out repo
git clone https://github.com/birdnet-team/birdnet.git
cd birdnet
# create virtual environment
python3.11 -m venv .venv311
source .venv311/bin/activate
python3.11 -m pip install uv
python3.11 -m uv pip install -e .[tests,dev,and-cuda,litert]# first install the tool like in "Development setup"
# then, navigate into the directory of the repo (if not already done)
cd birdnet
# activate environment
source .venv311/bin/activate
# run tests
toxFinal lines of test result output:
py311: commands succeeded
congratulations :)
- Python 3.10 is not supported because of missing
typingfeatures ->from typing import Self