简体   繁体   中英

How do you view the active Conda environment in VSCode?

I have 3 Conda environments set up (in addition to the base environment). anaconda导航器环境列表

In VSCode you can easily select a Conda environment as your Python interpreter.
vscode python解释器列表

Great!
But the name shown isn't specific to the environment, just the interpreter.

状态栏名称

How do you get this to show something like Anaconda Python 3.7.0 [environment-2] ?

This is probably due to the fact that when you installed Anaconda you left it off of your PATH . This is a known issue .

I'm not sure the exact date it happened but this feature is now launched. 🎉💥

在vscode python中的conda

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