Skip to content

Instantly share code, notes, and snippets.

@sreevardhanreddi
Last active August 21, 2018 07:51
Show Gist options
  • Save sreevardhanreddi/ce6d22a3bb5c7d8e504b692f4f3f2c18 to your computer and use it in GitHub Desktop.
Save sreevardhanreddi/ce6d22a3bb5c7d8e504b692f4f3f2c18 to your computer and use it in GitHub Desktop.
create a virtual env in a folder, to create virtual env:
virtualenv -p python3 env
env is the name of environment
a folder with env name is created, to activate the environment
source env/bin/activate
to deactivate
deactivate
then to install pip
pip install Django
this will install latest version of Django
to install a specific version
pip install Django==2.1
(don't use sudo to install pip packages)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment