[英]How do you view the active Conda environment in VSCode?
I have 3 Conda environments set up (in addition to the base environment). 我已经设置了3个Conda环境(除了基本环境)。
In VSCode you can easily select a Conda environment as your Python interpreter. 在VSCode中,您可以轻松地选择Conda环境作为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]
? 如何显示类似
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
. 这可能是由于以下事实:在安装Anaconda时,您将其保留在
PATH
。 This is a known issue . 这是一个已知问题 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.