DEV Community

Discussion on: Python 101: Setting Up Your Environment With Venv and requirements.txt

Collapse
 
fpcorso profile image
Frank Corso • Edited

The last sentence in the virtual environment section mentions the command to deactivate but I see the code doesn't stand out much here. Will update.

The command is: deactivate

As for the actual activation, the command itself is just source. The rest is the path to the activation script. So, you could set up an alias for the whole command if you always name the environment the same way.