Recently, I've been trying to upgrade my pip using the following command:
python -m pip install --upgrade pip
the process goes as follows:
Downloading pip-21.0.1-py3-none-any.whl (1.5 MB)
|████████████████████████████████| 1.5 MB 1.7 MB/s
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 20.3.3
Uninstalling pip-20.3.3:
Successfully uninstalled pip-20.3.3
Rolling back uninstall of pip
Then a bunch of Moving to lines start to appear, then comes the error:
ValueError: Unable to find resource t64.exe in package pip._vendor.distlib
What am I suppossed to do ???
This is likely an issue with the pip installation. You can fix it using the following steps:
Uninstall the current pip:
python -m pip uninstall pip setuptools
Download get-pip.py from https://bootstrap.pypa.io/get-pip.py
Run the get-pip script:
python get-pip.py
Alternatively you can use, but it isn't recommended:
easy install --upgrade pip
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With