The Python Server Crashes Unexpectedly. Am able to run in debug mode but the Linting is not working. Could anybody help me out please?
I was able to resolve this by following these steps to reinstall the Python extension: https://github.com/microsoft/vscode-python/issues/13679#issuecomment-683899458
Copying here:
- Uninstall Python extension (if you have pylance uninstall it first).
- Close all instances of VS Code.
- Go to
%USERPROFILE%/.vscode/extensions(on windows) or~/.vscode/extensionson Linux/Mac.- Delete any folder with the name starting with
ms-python.python*- Start VS Code, and install Python extension (also pylance if you uninstalled it in step 1).
Go to VSCode Preferences -> Settings -> Extensions -> Python -> Change the "Language Server" setting to "Pylance" (install Pylance extension if needed)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With