• sudo apt-get install libapache2-mod-wsgi
  • sudo apt-get install python-pip
  • sudo pip install virtualenvwrapper
    • (Pat:) I encounter an error message like this: InstallationError: Command python egg_info failed with error
    • (Pat:) then I consult this page: link and do the fallowing installation, everything ok.
      • $ sudo apt-get install python-setuptools python-pip python-dev
      • $ sudo pip install -U setuptools
      • $ sudo pip install -U pip
      • $ sudo pip install -U tiddlywebwiki
  • vim ~/.bashrc
  • add following line to .bashrc -> source /usr/local/bin/
  • export WORKON_HOME=~/.envs
  • mkdir -p $WORKON_HOME
  • mkvirtualenv taggy (environment name)
  • (taggy)$ pip install django

Switch between environments:

workon taggy

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License