I installed pyenv-win in Windows 10 and followed the instructions to set all system variables and it works fine in the cmd.
> python --version
Python 3.10.2
When I try to use VS Code it doesn't recognize any interpreter. I added to my working folder a virtual enviroment that works fine in the cmd but again when I try to use it with VS Code nothing works. Ctrl + Shift + P and select interpreter path does nothing.
I've installed the extensions for Python by Microsoft.
I also tried to set the setting.json with "python.defaultInterpreterPath": "/path/python.exe" but nothing happens.
I tried to run code with right click > run Python file in terminal and it doesn't even try to open the terminal to give me an error. (I hope that the two problems are related.)
I've already uninstalled and reinstalled and it doesn't work. I read the Python Environments page and it told to put in settings "python.useEnvironmentsExtension": true to reveal the icon in the menu. Trying to manage the environments from there, it seems to recognize something but it doesn't load pages and gets stuck in search:
