Last active
August 21, 2018 07:51
-
-
Save sreevardhanreddi/ce6d22a3bb5c7d8e504b692f4f3f2c18 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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