deactivate virtual environment in python windows code example Example: py how to deactivate venv $ deactivate or $ conda deactivate