pip 22 supports Python ≥ 3.6; Python 3.10 satisfies this. Python 3.10 introduced structural pattern matching and improved error messages. Most packages compatible with Python 3.10 install without issues on pip 22.