Python venv virtual environment cheat sheet Create a venv To create a virtual environment, go to the root of your project and run python -m venv venv It will create a virtual environment called venv Activate venv .\venv\Scripts\activate