Skip to content

Instantly share code, notes, and snippets.

@agusmakmun
Last active April 18, 2016 16:57
Show Gist options
  • Save agusmakmun/1a5d018a2467ae3e055b08d70cf10b7b to your computer and use it in GitHub Desktop.
Save agusmakmun/1a5d018a2467ae3e055b08d70cf10b7b to your computer and use it in GitHub Desktop.
Installing PIP, Virtualenv, Django in Raspbian
$ sudo apt-get install python-pip python-dev build-essential
$ sudo pip install virtualenv

Usage

$ virtualenv --python=/usr/bin/python2.7 --no-site-packages test_myenv
> OR
$ virtualenv test_myenv
$ cd test_myenv
$ source bin/activate
(test_myenv) user ~$ pip install Django
(test_myenv) user ~$ deactivate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment