I have installed (Mini) Conda in an Ubuntu 20.04 instance running on WSL2, and I have created a virtual environment (myenv
).
First, the path to the interpreter does not appear when I perform Python: Select Interpreter
, so I have manually inserted it.
However, upon opening a new instance of the terminal, source activate myenv
is not automatically run. I think VSCode is not aware that I am working with WSL2 (e.g. when opening the dialog box for selecting the interpreter, it searches only for windows executables).
Has someone encountered the problem and solved it?