9

So I am aware of virtualenv in PowerShell? question, specificly this answer, stating that all you need to activate is to execute

venv/Scripts/activate.ps1 

Of course it is required to set appropriate Execution Policy etc.

But my question is: How to disable virtualenv activated inside Power Shell?

I tried:

venv/Scripts/deactivate.ps1 

and

venv/Scripts/activate.ps1 deactivate

but first one fails because deactivate.ps1 does not exists and second one does not change anything.

running.t
  • 5,329
  • 3
  • 32
  • 50

1 Answers1

27

Just a moment after creating this question I've realized that answer is much simpler that I expected. All I need is to type

deactivate

inside virtualenv.

running.t
  • 5,329
  • 3
  • 32
  • 50