用法

$ cd test_proj

建立虛擬環境:

$ virtualenv test_proj

要開始使用虛擬環境,需要啟用它:

$ source test_project/bin/activate

要退出 virtualenv,只需輸入 deactivate:

$ deactivate