Skip to main content
Stack Overflow
  1. About
  2. For Teams

Return to Question

Post Timeline

Remove irrelevant tag
Link
bfontaine
  • 21.5k
  • 16
  • 88
  • 128
Source Link
SaiKiran
  • 6.5k
  • 12
  • 48
  • 77

Python:Command not found virtualenv

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.

lang-py

AltStyle によって変換されたページ (->オリジナル) /