Typically error messages when pip is broken.
So should fix
Also as info you are using Python that comes with Ubuntu as it point to
if had compile Python version yourself or other solution like eg pyenv it would have use
Internal solution ensurepip don't talk to internet.
So should fix
pip
and no try to install missing packages it point to.Also as info you are using Python that comes with Ubuntu as it point to
dist-packages
,if had compile Python version yourself or other solution like eg pyenv it would have use
site-packages
directory.Internal solution ensurepip don't talk to internet.
sudo python3 -m ensurepip --upgradeUsing get-pip.py this will get a new version of pip,setuptools, and wheel.
curl -sS https://bootstrap.pypa.io/get-pip.py | sudo python3Or
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py --force-reinstall