Pip is not working for Python 3.10 on Ubuntu

This is likely caused by a too old system pip version.

Install the latest with:
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10

and test result

python3.10 -m pip --version

e.g.

pip 22.2.2 from <home>/.local/lib/python3.10/site-packages/pip (python 3.10)

and then test upgrade

python3.10 -m pip install --upgrade pip

e.g.

Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in <home>/.local/lib/python3.10/site-packages (22.2.2)

Leave a Comment