Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shivanshuraj1333/8be9c4cb2f79ca049ba5e6bb1cabe38c to your computer and use it in GitHub Desktop.
Save shivanshuraj1333/8be9c4cb2f79ca049ba5e6bb1cabe38c to your computer and use it in GitHub Desktop.

Install venv:

 sudo apt install -y python3-venv

Create a Virtual Environment:

python3 -m venv my_env

Activate Virtual Environment:

source my_env/bin/activate

Deactivate Virtual Environment:

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