When I try to update pip on VS Code and also on cmd, This appears and I have no idea why. I have uninstalled and reinstalled pip and Python 3 times now. Help would be appreciated.
CodePudding user response:
Have you tried to run the command suggested by pip itself? "To update, run: python.exe -m pip install --upgrade pip" Just paste it into cmd.
CodePudding user response:
Try this:
- Run your Command Prompt as administrator
- Copy/Paste the line below in the terminal and press
OK
C:\Users\your_username\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip
Note : Your Python installation folder may be different. Make sure to put the convenient path. You can get yours by running this code in any python interpreter :
import sys
locate_python = sys.exec_prefix
print(locate_python)
CodePudding user response:
I will switch to Anaconda because I can't resolve the problem. Thank you all for trying!