📜  virtualenv - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:45.639000             🧑  作者: Mango

代码示例6
# installs PIP globally
curl https://bootstrap.pypa.io/get-pip.py | python

# installs virtualenv globally
pip install virtualenv

# creates a virtualenv
virtualenv -p python2.7 venv

# activates the virtualenv
source venv/bin/activate