1、本地进入python27_env环境
workon python27_env
2、此环境以来拷贝至requirements.txt
pip freeze > requirements.txt
3、requirements.txt上传至服务器
4、创建python27_env虚拟环境
mkvirtualenv python27_env
5、安装此环境
pip install -r requirements.txt
workon python27_env
pip freeze > requirements.txt
mkvirtualenv python27_env
pip install -r requirements.txt