Powershell 如何获取虚拟环境的名称以显示在VS代码终端中
当我在带有Powershell的集成终端中运行python代码时,虚拟环境的名称不会显示出来。一切正常,但并不表明它正在使用指定的Conda环境。请问如何修理这个? 我试过了Powershell 如何获取虚拟环境的名称以显示在VS代码终端中,powershell,visual-studio-code,terminal,virtual-environment,anaconda3,Powershell,Visual Studio Code,Terminal,Virtual Environment,Anaconda3,当我在带有Powershell的集成终端中运行python代码时,虚拟环境的名称不会显示出来。一切正常,但并不表明它正在使用指定的Conda环境。请问如何修理这个? 我试过了 Set ExecutionPolicy-ExecutionPolicy RemoteSigned-Scope进程 但它不起作用。只需执行conda init
Set ExecutionPolicy-ExecutionPolicy RemoteSigned-Scope进程
但它不起作用。只需执行
conda init