✓ Works

Python 3.12 + pip 22: Compatible; One Important Caveat

Python 3.12 + pip 22

pip 22 supports Python ≥ 3.6; Python 3.12 satisfies this. However, Python 3.12 removed `distutils` from the stdlib. If any package depends on `distutils` directly (not via `setuptools`), it will fail to build on Python 3.12 regardless of pip version. Upgrade pip to avoid edge cases and get the improved dependency resolver.

Workarounds & Fixes

Related Error Pages

Related Combinations

Python 3.12 + pip 24 ✓ Works Python 3.12 + pip 23 ✓ Works Python 3.11 + pip 22 ✓ Works Python 3.10 + pip 22 ✓ Works
Last verified: 2024-10-01  ·  Category: Python + pip