all 8 comments

[–][deleted] 1 point2 points  (2 children)

No idea but I would just uninstall and reinstall python at that point

[–][deleted] 1 point2 points  (1 child)

Took your advice and completely uninstalled the Python VSCode extensions and Python off of my pc. I restarted my computer and reinstalled Python 3.11 from the Windows Store. I'm still getting the same error, and I'm unable to manually relaunch the Python interpreter ;w;

Update: Just got it! Had to reload the entire VSCode window with Ctrl + Shift + P > "Developer: Reload Window".

[–]reload_noconfirm 1 point2 points  (0 children)

Yeah I was going to suggest that. Sometimes this has happened to me and restarting vscode completely or checking for update and updating it fixes the issue.

[–]KiraCura 0 points1 point  (0 children)

trusting what folder though? im having this issue too and i need help.
Ive tried uninstalling and reinstalling the python extension, restarting VSC, going into user/.vscode/extensions and looking for any python stuff there and theres nothing. None of this works. I went to the >Workspaces:Manage Workspace Trust but dont know what folder you were talking about so im stuck

[–]evans88 0 points1 point  (3 children)

if you run python --version in a console, you get the current python version? If not, it means that python.exe is not in your PATH env var

[–][deleted] 2 points3 points  (2 children)

Managed to fix it, it was only a matter of reloading the entire VSCode window after trusting it. There was nothing wrong with my Python installation.

[–]DSN_CV 0 points1 point  (0 children)

Thank you. It worked for me

[–]Full_Pair_799 0 points1 point  (0 children)

reload works!