andywar65 if you want to use the systemwide Python 3.10 you can replace the virtualenv in your app directory with a new one by running the following commands:
cd ~/apps/appname
mv env env.old
/usr/local/bin/python3.10 -m venv env
source env/bin/activate
pip install uwsgi
# then use pip to install the rest of your dependencies
I recommend doing this to take advantage of system software updates, ie we don't manage the local Python in your app directory at all so it will stay at its original version forever unless you upgrade it yourself.
We have Python 3.11 available also, so if you update your app to Django 4.1.3 you can use the above procedure to move to 3.11 by replacing /usr/local/bin/python3.10
with /usr/local/bin/python3.11
.
Hope this helps 🙂