First install the virtual environment with pip for python2

pip install virtualenv

Then create the environment under the bash

bash

python ~/.local/lib/python2.7/site-packages/virtualenv.py target_diretory/envName

Then activate the environment

source target_diretory/envName/bin/activate