Skip to content

Instantly share code, notes, and snippets.

@savio777
Last active May 27, 2024 02:15
Show Gist options
  • Save savio777/3d5b863ca0dc5bc48f9bab725c2ac927 to your computer and use it in GitHub Desktop.
Save savio777/3d5b863ca0dc5bc48f9bab725c2ac927 to your computer and use it in GitHub Desktop.
create virtualenv (os unix like) in 2024 python 3.10.12
  • instalação:

sudo apt install python3.12-venv

  • criar ambiente virtual python (<venv> = pasta do ambiente virtual)

python3 -m venv /path/<venv>

  • ativar ambiente virtual python

source <venv>/bin/activate

  • desativar

deactivate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment