I have installed virtualenv using the command pip install virtualenv
and it gave me this.
pip install virtualenv
Downloading/unpacking virtualenv
Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB): 0% Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB): 0% Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB): 1.8MB downloaded
Installing collected packages: virtualenv
Successfully installed virtualenv
Cleaning up...
Now you can see that virtualenv is installed to confirm this i have tested like this,
ubuntu@ubuntu ~ which pip
/usr/bin/pip
ubuntu@ubuntu ~ which python
/usr/bin/python
ubuntu@ubuntu ~ which virtualenv
virtualenv not found
✘ ubuntu@ubuntu ~ python --version
Python 2.7.12
ubuntu@ubuntu ~ pip --version
pip 1.5.6 from /usr/lib/python2.7/dist-packages (python 2.7)
Now real problem is that i want to create a virtualenv i have entered command
virtualenv env --no-site-packages
and it gave me error.
command not found: virtualenv
Any solutions to this problem.I have also using ubuntu -16 with all updates installed.