I recently switched over to WSL (Ubuntu). Now when I create a virtual env using
python -m venv venv
It is not detected in vs code automaticaly.
My settings.json
{
"python.pythonPath": "C:\\Users\\ankus\\AppData\\Local\\Programs\\Python\\Python37-32\\python.exe",
}
I have tried to change it to this
{
"python.pythonPath": "/mnt/c/Users/ankus/OneDrive/Documents/Main Projects/project_folder/venv/bin/python"
}
but nothing seems to work.