$PATH
should contains directory where virtualenv installed. your pip
might install into /usr/local/bin
(or other pip's default directory).
you can add some pathes in ~/.bashrc
or ~/.profile~
files.
$ cat ~/.profile
export PATH=$PATH:/usr/local/bin
if you can't find virtualenv
in /usr/local/bin
, then you might want to change pip install directory with -d
option.
$ pip install -d your_path virtualenv
...
$ your_path/virtualenv
if PATH
include your_path
, simply use
$ virtualenv
And this question & answer can help you.