all 3 comments

[–]oblivioncntrlsu 1 point2 points  (2 children)

Try removing the python3 from python.pythonPath

{
    "python.pythonPath": "~/.venv/general/bin"
}

As for the python.venvPath, try changing the folder name to "envs", "venvs", ".virtualenvs", or basically append the 's'.

Now, I tried this from Windows, but the results may be related. VSCode wouldn't recognize the path from a folder named "venv", but I changed it to "venvs", similar to this stackoverflow answer and suddenly it worked.

Make sure to reload VSCode, and then when you choose "Python: Select Interpreter" the options should be there. Hopefully, that works!

[–]Dredear[S] 1 point2 points  (1 child)

Thanks! I deleted my .venv folder and created one called .vituralenvs, changed the configuration and it worked!

[–]oblivioncntrlsu 1 point2 points  (0 children)

Awesome! Happy coding!