Skip to content

Instantly share code, notes, and snippets.

View artmendesbr's full-sized avatar

Art Mendes artmendesbr

View GitHub Profile
@artmendesbr
artmendesbr / venv.md
Last active October 29, 2024 17:57 — forked from ryanbehdad/venv.md
Python venv cheat sheet

Python venv virtual environment cheat sheet

Create a venv

To create a virtual environment, go to the root of your project and run

python3 -m venv ./venv

It will create a virtual environment called venv

Activate venv

./venv/bin/activate