update instructions.md for python 3.12

This commit is contained in:
2025-03-25 18:35:20 +01:00
parent 51c02b3d55
commit be5e0c9ae6

View File

@@ -8,12 +8,12 @@ Just run `make_installer.py` with the following command. The distribution can be
to run this on all target platforms.
```
venv311/bin/python make_installer.py
venv312/bin/python make_installer.py
```
## Update Python
1. install the latest python version. We need the dev version, because PyInstaller requires it.
`sudo apt install python-3.11-dev python-3.11-venv`
2. create new virtual environment with `python3.11 -m venv /path/to/venv`
`sudo apt install python-3.12-dev python-3.12-venv`
2. create new virtual environment with `python3.12 -m venv /path/to/venv`
3. select the venv in PyCharm