pip: Unable to find resource `t64.exe` in `pip._vendor.distlib`
Description
I’m using Python 3.10.5
and having PIP 22.2.1
and while updating PIP to latest Version 22.2.2 ValueError raises and its not updating PIP
Expected behavior
No response
pip version
22.2.1
Python version
3.10.5
OS
Windows 10
How to Reproduce
- Open Console and Run
python -m pip install --upgrade pip
Output
No response
Code of Conduct
- I agree to follow the PSF Code of Conduct.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 20 (11 by maintainers)
This fixed the problem for me under Windows 11, running Python 3.11.4, from PowerShell:
python -m pip uninstall pip setuptools python -m ensurepip --upgrade python.exe -m pip install --upgrade pip setuptools
@anoban To recover, you can delete the following directories:
And then fetch and run get-pip.py as described in https://pip.pypa.io/en/stable/installation/#get-pip-py.