Visual Studio Code does not detect virtual environments. I run vscode in the folder where the venv folder is located, when I try to select the kernel in vscode I can see the main environment and one located elsewhere on the disk. Jupyter running in vscode also doesn't see this environment. I have installed ipykernel in this environment. I tried to reinstall vscode and python extension.
I tried to set the path in settings.json inside .vscode:
{
"python.pythonPath": ".\\venv\\Scripts\\python.exe"
}
Windows 10
Python 3.6.7 (64-bit)
VSCode 1.54.3