I created an environment using conda a long ago, and then I deleted it. But still appears in the VScode kernel list.
I already tried conda env list
but it does not appear there:
λ conda env list
# conda environments:
#
base * /home/vishwa/anaconda3
I also tried jupyter kernelspec list
, but it does not appear there either:
λ jupyter kernelspec list
Available kernels:
python3 /home/vishwa/.local/share/jupyter/kernels/python3
How can I remove this environment from VScode?
CodePudding user response:
This is the full list of places where VSCode will try to find your environment. One of these must be the source of your trouble.
CodePudding user response:
conda remove --name myenv --all
or
conda env remove --name myenv