⚠ Partial

Python 3.12 + Debian 12: Available via Backports; Default Is Python 3.11

Python 3.12 + Debian 12 (Bookworm)

Debian 12 (Bookworm) ships Python 3.11 as the default. Python 3.12 is available via the Debian backports repository. Python 3.12 removed `distutils` from the stdlib — after installing via backports, also install `python3.12-distutils` or `setuptools` to avoid build failures with older packages.

Workarounds & Fixes

Related Error Pages

Related Combinations

Python 3.12 + Ubuntu 24.04 LTS ✓ Works Python 3.12 + Ubuntu 22.04 LTS ✓ Works Python 3.11 + Debian 12 (Bookworm) ✓ Works Python 3.12 + macOS 14 (Sonoma) ✓ Works
Last verified: 2024-10-01  ·  Category: Python + OS