📅  最后修改于: 2022-03-11 14:46:33.277000             🧑  作者: Mango
# 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