Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save stupidbodo/6480573 to your computer and use it in GitHub Desktop.
Save stupidbodo/6480573 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Install VirtualEnv and VirtualEnvWrapper Centos 6 #
#################
pip install virtualenv
pip install virtualenvwrapper
# Replace suitable environment directory with $HOME/Envs
export WORKON_HOME=$HOME/Envs
# if root use /usr/bin/virtualenvwrapper.sh
source /usr/local/bin/virtualenvwrapper.sh
# mkvirtualenv - make virtual environment
# rmvirtualenv - remove virtual environment
# workon - switch to virtual environment
# deactivate - get out of virtual environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment