Is it possible to install and run Python 3.11 script in virtual environment?

rebuild the package using your current system python

it took me a few minutes

sudo pacman -Syu python-appdirs python-dateutil python-lxml python-pillow base-devel git
git clone https://aur.archlinux.org/goes16-background-git
cd goes16-background-git
makepkg -is

do a test run (described on the github page)

11:58:43 ± [fh@tiger] ~/goes16-background-git
[master ?:3] $ goes16-background
goes16-background 1.2.0
Updating...
Latest version: 2024/09/03 09:30:20 UTC.
Downloading tiles...
Downloading tiles: 1/4 completed...
Downloading tiles: 2/4 completed...
Downloading tiles: 3/4 completed...
Downloading tiles: completed.
Saving to '/home/fh/.cache/goes16background/goes16-20240903T093020.png'...
grep: /proc//environ: No such file or directory
Could NOT retrieve env. var. GNOME_DESKTOP_SESSION_ID
Plasma version 'plasmashell 6.1.4
'.
Result

12:01:59 ± [fh@tiger] ~/goes16-background-git
[master ?:3] $ python --version
Python 3.12.5