Skip to content

Instantly share code, notes, and snippets.

View cgalo5758's full-sized avatar
💭
Never forget your friends

Christian Galo cgalo5758

💭
Never forget your friends
View GitHub Profile
@cgalo5758
cgalo5758 / venv.md
Created March 15, 2024 17:53 — 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

python -m venv venv

It will create a virtual environment called venv

Activate venv

.\venv\Scripts\activate