Ubuntu 22.04 has python 3.10 as default, but python 3.11 is possible with venv / virtual environment ... see this HOWTO
Install python 3.11 including venv, create venv, and activate it:
Code: Select all
sudo apt install python3.11 python3.11-venv
python3.11 -m venv ~/my-python3.11-venv
source ~/my-python3.11-venv/bin/activate
Code: Select all
(my-python3.11-venv) sander@witte2004:~$ python3 -V
Python 3.11.3
(my-python3.11-venv) sander@witte2004:~$
All the below within the venv!
Install SABnzbd python3.11 modules:
Code: Select all
python3 -m pip install -r /home/sander/git/sabnzbd/requirements.txt
Code: Select all
python3 ~/git/sabnzbd/SABnzbd.py -b1 -l2
Code: Select all
deactivate