My VSCode suddenly started to run "Discovering Global Python Interpreters", which seemed not to finish. It seemed like it could not find and choose the python environment inside .venv in the project directory. Even when I set it manually via Python: Select Interpreter command, the functionalities like code jump etc did not work, as if the interpreter was not set. Reloading window and restarting VSCode did not help, "Discovering Global Python Interpreters" running again.
I resolved the issue by unchecking "Python: Use Environments Extension" in Settings. Once I unchecked it and reloaded window, it immediately found the environment inside .venv and started to work as usual again.
My VSCode suddenly started to run "Discovering Global Python Interpreters", which seemed not to finish. It seemed like it could not find and choose the python environment inside
.venvin the project directory. Even when I set it manually viaPython: Select Interpretercommand, the functionalities like code jump etc did not work, as if the interpreter was not set. Reloading window and restarting VSCode did not help, "Discovering Global Python Interpreters" running again.I resolved the issue by unchecking "Python: Use Environments Extension" in Settings. Once I unchecked it and reloaded window, it immediately found the environment inside
.venvand started to work as usual again.