Home > Enterprise >  VS Code: "The isort server crashed 5 times in the last 3 minutes..."
VS Code: "The isort server crashed 5 times in the last 3 minutes..."

Time:11-18

I may have messed up some environmental path variables.

I was tinkering around VS Code while learning about Django and virtual environments, and changing the directory path of my Python install. While figuring out how to point VS Code's default Python path, I deleted some User path variables.

Then, isort began to refuse to run.

I've tried uninstalling the extension(s), deleting the ms-python.'s, and uninstalling VS Code itself, clearing the Python Workspace Interpreter Settings, and restarting my computer.

Even if it's not my path variables, anyone know the defaults that should be in the "user" paths variables?

CodePudding user response:

You need to find the location of the python.exe file.

Usually it is C:\Users\Admin\AppData\Local\Programs\Python\Python310\

You can also automatically add python to the system environment by deleting and reinstalling it. During installation, a small box is automatically checked to add environment variables.

CodePudding user response:

I ended up refreshing my Windows install. Was for the best because I'm repurposing an older machine anyway.

  • Related