The normal installation of SkywarnPlus does NOT work with Debian 13 due to an error with pydub. The error is from Python 3.13. My thanks to N6LKA for providing a workaround. Install Python 3.11 alongside Python 3.13, and configure SkywarnPlus to use it. I found I also had to install ffmpeg.
PythonErrors.
Here is the steps I used:
1] Install build dependencies:
sudo apt install build-essential libssl-dev zlib1g-dev libncurses5-dev libncursesw5-dev libreadline-dev libsqlite3-dev libgdbm-dev libdb5.3-dev libbz2-dev libexpat1-dev liblzma-dev tk-dev libffi-dev
2] Download and compile Python 3.11: ( 7 steps )
cd /tmp
wget https://www.python.org/ftp/python/3.11.10/Python-3.11.10.tgz
tar xzf Python-3.11.10.tgz
cd Python-3.11.10
./configure --enable-optimizations --prefix=/usr/local
make -j$(nproc)
sudo make altinstall
3] Modify SkywarnPlus shebang:
sudo nano /usr/local/bin/SkywarnPlus/SkywarnPlus.py
Change first line from #!/usr/bin/python3 to #!/usr/local/bin/python3.11
4] Install Python dependencies for Python 3.11:
sudo /usr/local/bin/python3.11 -m pip install requests pydub python-dateutil pytz ruamel.yaml
5] install ffmpeg
sudo apt update
sudo apt install ffmpeg x264 x265
6] Fix permissions for asterisk user:
sudo mkdir -p /tmp/SkywarnPlus
sudo chown asterisk:asterisk /tmp/SkywarnPlus
You went threw an awful lot of work. You could simply have used the following patch and stayed using python3.13 without polutting the system.