I use Python mostly in Spyder for data science. Both Visual Studio Code and virtual environments is fairly new to me.
Anyway, using the terminal in Visual Studio Code I try to switch between environments. I have tried both conda activate venv
and activate venv
. I get no error message but using conda env list
to see which environment is active I seem stuck in Base.
Doing the same thing in the Anaconda Prompt I am allowed to switch between environments.
I use Windows and I start Visual Studio Code from the Anaconda Navigator.
What is going on?