Skip to content

Instantly share code, notes, and snippets.

@tjaved573
Last active May 12, 2022 08:10
Show Gist options
  • Save tjaved573/27b193948aafa560d7f6492302077c74 to your computer and use it in GitHub Desktop.
Save tjaved573/27b193948aafa560d7f6492302077c74 to your computer and use it in GitHub Desktop.
pip3 commands

to list all installed packages installed

pip3 list

to create a virtual environment

virtualenv test_env_1

to specify a version as well, run:

virtualenv -p /usr/local/bin py_env_3.8

to active a virtual environment, use

source test_env_1/bin/activate

to de-active a virtual environment, use

deactivate

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