一: 解压环境包
环境包: pip_package.zip
解压: unzip pip_package.zip
二: 安装环境包
bash: nohup ./create.sh &
查看实时进度bash: tail -f nohup.out
三: 配置虚拟环境
vi ~/.bashrc
PATH=/home/was/software/python27/bin:$PATH
export WORKON_HOME=/home/was/software/python_envs
source /home/was/software/python27/bin/virtualenvwrapper.sh
export DB_PUBKEY=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmnlYzvi5MdW43Q5SXukLOLc0qB7/pTyJ87Et9sC8IDiUt14zmHNmQWlenFnc7U0l/CY2B3rJUFD8mPEzyEwQXSQDE+wGgJy6BL3wGx2Z20bMh2jrafpWOX4Z/FwGGLKeMQ7MfP27v4X8E0RAnLg3vEQ+ST+jXqOVW5QC5mGeFthlHP+IsUpAYGBOVjmAYSpoSgbCwSInIZl2+WdoVML07+5JrLGkbbIgso5ycK7dAmWslSFTTlH6yNlyMwRiWey8n3+HQa1gXLY67woeg0+LJOv98/gFXyAHYBWqefXDozA73YG3pKywXgUa83795SncmKzKO+2NdTnTr5zxmoguMwIDAQAB
保存&退出编辑
source ~/.bashrc 生效
workon NewRecharge
pip list
注:构架脚本