Skip to content

Instantly share code, notes, and snippets.

@wagnermarques
Created November 26, 2024 17:33
Show Gist options
  • Select an option

  • Save wagnermarques/364e685ea36797f4eec181733a74ee35 to your computer and use it in GitHub Desktop.

Select an option

Save wagnermarques/364e685ea36797f4eec181733a74ee35 to your computer and use it in GitHub Desktop.
sets up python venv
from: https://docs.python.org/3/library/venv.html
$projdir="/dir/to/your_project
cd $projdir
apt install python3.12-venv
python3 -m venv $projdir //criar o diretorio bin no seu projeto
source bin/activate //ativa o ambiente virtual
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment