如何进入env cmd模式?

时间:2018-06-07 06:29:24

标签: windows cmd

我使用window10系统,我看到有些人的cmd是这样的:

enter image description here

前面有一个环境。 但我的cmd没有环境

我的cmd: enter image description here 如何切换到此环境模式?

1 个答案:

答案 0 :(得分:0)

现在我理解“env”模式,事实上,我可以使用virtualenv的命令

  

激活

去做。 例如:

  

E:\ python_virtualenv> cd E:\ python_virtualenv \ mycode \ Scripts

     

E:\ python_virtualenv \ mycode的\脚本>激活

     

(mycode)E:\ python_virtualenv \ mycode \ Scripts> echo   %GOOGLE_APPLICATION_CREDENTIALS%   d:\ analyze_sentiment \ MyFirstProject-bbe4f7bccb98.json

事实上,“mycode”是“env”。