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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With