#安装

(sudo) pip install virtualenv virtualenvwrapper

 

echo  "export WORKON_HOME=$HOME/.virtualenvs" >> ~/.bash_profile

echo "export PROJECT_HOME=$HOME/workspace" >> ~/.bash_profile
echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bash_profile
# 应用设置
source ~/.bash_profile