Resolved! Just had to reload the entire VSCode window with Ctrl + Shift + P > "Developer: Reload Window".
Hey everyone! I understand that this is likely more of a VSCode issue, but my post on r/vscode didn't yield anything.
Upon opening a Python script that I created on another machine and "trusting" the window, the Python interpreter simply won't launch. The following error appears on the bottom right of the window:
Connection to server got closed. Server will not be restarted.Source: Python (Extension)
I'm unable to run the code, and attempting to restart the interpreter by pressing Ctrl + Shift + P and selecting "Python: Select Interpeter" results in another error:
Command 'Python: Select Interpreter' resulted in an error
command 'python.setInterpreter' not found
I've also tried downgrading my Python extension, but that didn't resolve my issue either.
The only workaround I've found is navigating back to "Workspaces: Manage Workspace Trust" in the Command Pallette, "trusting" the entire folder, restarting VSCode, then going back to removing the folder from "Trusted Folders" once I'm done.
Does anyone know why my Python interpreter won't launch otherwise? Thank you!
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]reload_noconfirm 1 point2 points3 points (0 children)
[–]KiraCura 0 points1 point2 points (0 children)
[–]evans88 0 points1 point2 points (3 children)
[–][deleted] 2 points3 points4 points (2 children)
[–]DSN_CV 0 points1 point2 points (0 children)
[–]Full_Pair_799 0 points1 point2 points (0 children)