get out of virtual environment ubuntu env code example
Example 1: exit venv python
$ deactivate
Example 2: how to deactivate virtualenv
# This would only work when you have virtualenv activated.
# Kinda obvious, but I guess I'll point it out.
# Just type in this in your shell:
deactivate