安装

通过 pip /(apt-get)安装 virtualenv:

pip install virtualenv

要么

apt-get install python-virtualenv

注意:如果你遇到权限问题,请使用 sudo。