Upgrading Python
Installing a new version of Python¶
LiberaForms now requires Python 3.10 or greater. Please check your version and install if necessary.
source ./venv/bin/activate && python --version
LiberaForms has been tested on python 3.10 python 3.11 python 3.12
This only takes a few minutes.
First, install a new version of Python. There a many tutorials on the Internet.
When you are satisfied the new version is installed correctly then..
Stop LiberaForms
sudo supervisorctl stop liberaforms
sudo supervisorctl stop liberaforms-logs
Exit the (venv) if it is active
deactivate
Remove your venv directory.
rm -fr venv
Create the new venv. If you installed python3.12, then you would create it like this.
python3.12 -m venv ./venv
source ./venv/bin/activate
pip install -r ./requirements.txt