Today I opened VS Code and typed
pip
and it said
Fatal error in launcher: Unable to create process using
'"C:Users{User Name}AppDataLocalProgramsPythonPython311python.exe" "C:Users{User Name}AppDataLocalProgramsPythonPython311Scriptspip.exe" ':
The system cannot find the file specified.
I tried to repair Python two times but it still didn’t work
2
Answers
I found a way to fix it!
Uninstall Python and Python Launcher
Install Python Again
Run
pip
and it worked!Proff of it worked
1、open win10 setting->system->Advanced system settings
2、add the python path to PATH
3、restart your vscode terminal or restart vscode or restart you computer, then reinstall using pip
if above don’t work, you should try using cmd to install packages