Python之virtualenv安装
CentOS 7
yum install python-virtualenv
virtualenv --no-site-packages testenv #不依赖真实环境的packages用 --no-site-packages
cd testenv
source ./bin/active #开启
deactivate #关闭
#配置转移
pip freeze > requirements.txt
pip install -r requirements.txt