Installs on Bullseye now
This commit is contained in:
@@ -52,21 +52,22 @@ install_birdnet() {
|
|||||||
source ./birdnet/bin/activate
|
source ./birdnet/bin/activate
|
||||||
echo "Upgrading pip, wheel, and setuptools"
|
echo "Upgrading pip, wheel, and setuptools"
|
||||||
pip3 install --upgrade pip wheel setuptools
|
pip3 install --upgrade pip wheel setuptools
|
||||||
|
set -x
|
||||||
python_version="$(awk -F. '{print $2}' <(ls -l $(which python3)))"
|
python_version="$(awk -F. '{print $2}' <(ls -l $(which /usr/bin/python3)))"
|
||||||
|
echo "python_version=${python_version}"
|
||||||
# TFLite Pre-built binaires from https://github.com/PINTO0309/TensorflowLite-bin
|
# TFLite Pre-built binaires from https://github.com/PINTO0309/TensorflowLite-bin
|
||||||
# Python 3.7
|
# Python 3.7
|
||||||
if [ "$python_version" -eq 7 ];then
|
if [[ "$python_version" == 7 ]];then
|
||||||
echo "Installing the TFLite bin wheel"
|
echo "Installing the TFLite bin wheel"
|
||||||
pip3 install --upgrade tflite_runtime-2.6.0-cp37-none-linux_aarch64.whl
|
pip3 install --upgrade tflite_runtime-2.6.0-cp37-none-linux_aarch64.whl
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Python 3.9
|
# Python 3.9
|
||||||
if [ "$python_version" -eq 9 ];then
|
if [[ "$python_version" == 9 ]];then
|
||||||
echo "Installing the TFLite bin wheel"
|
echo "Installing the TFLite bin wheel"
|
||||||
pip3 install --upgrade tflite_runtime-2.6.0-cp39-none-linux_aarch64.whl
|
pip3 install --upgrade tflite_runtime-2.6.0-cp39-none-linux_aarch64.whl
|
||||||
fi
|
fi
|
||||||
|
set +x
|
||||||
echo "Installing colorama==0.4.4"
|
echo "Installing colorama==0.4.4"
|
||||||
pip3 install colorama==0.4.4
|
pip3 install colorama==0.4.4
|
||||||
echo "Installing librosa"
|
echo "Installing librosa"
|
||||||
|
|||||||
Reference in New Issue
Block a user