Closed luisccomp closed 2 years ago
This repo is no longer actively maintained; consider changing your python.languageServer
setting to use Pylance or Jedi.
I get this error too when I try to edit a script that imports numpy. How do I change my python.languageServer?
If you open your settings UI, you can search for python.languageServer
and change its value. You can also use the JSON UI to search for where you've set it to "Microsoft"; it was always opt-in so must be set somewhere.
Thank you. I didn't know I was using an out of date language server. It's working now with Pylance.
I'm opening this issue because I'm facing a problem with language server and I didn't find anything that solves my problem with previous issues.
The problem is: every time when I open a file with the following import statement
The language server breaks due to a stack overflow error. This happens only with this case in specific. I uninstall the extensions, delete folders at %USERPROFILE%/.vscode/extensions and nothing seems to solve my issue. I guess that might be something with python extensions that is raising this error.
I'm using windows 10 2004 (19041.1083) Python 3.8.10 Visual Studio Code 1.58.0
Here is the language server output: