Python environment v23
TPA decides which Python interpreter to use based on the distribution it detects on a target instance. It will use Python 3 wherever possible, and fall back to Python 2 only when unavoidable.
The tpaexec configure
command will set preferred_python_version
according to the distribution.
Distribution | Python 2 | Python 3 |
---|---|---|
Debian 12/bookworm | ✓ | ✓ (3.11) |
Debian 11/bullseye | ✓ | ✓ (3.9) |
Debian 10/buster | ✓ | ✓ (3.7) |
Debian 9/stretch | ✓ | ✓ (3.5) |
Debian 8/jessie | ✓ | ✗ (3.4) |
Ubuntu 16.04/xenial | ✓ |