pip install virtualenv env_name #creating env source env_name/bin/activate #activate env deactivate #closing/ deactivating env