Issue
So I am aware of virtualenv in PowerShell? question, specificly href="https://stackoverflow.com/a/1365119/2018369">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.
Solution
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.
Answered By - running.t Answer Checked By - Mary Flores (WPSolving Volunteer)