简体   繁体   中英

How to remove conda environment from vscode?

I created an environment using conda a long ago, and then I deleted it. But still appears in the VScode kernel list.

rtvc环境

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?

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.

conda remove --name myenv --all

或者

conda env remove --name myenv

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM