安装依赖 pip install virtualenv 创建 python -m venv /home/env 激活虚拟环境 source /home/env/bin/activate 退出 deactivate