Lots of installation instructions tell you to do pip install [package]
. But in my case that won't work, it'll say -bash: pip: command not found
python pip install [package]
works OK. Likewise for easy_install
, won't run by itself, will run when started with python.
I'm confused as to how it should work. Pip is no executable, there's no module called pip.py, there's only <path>\pip\__init__.py
. So if pip install [package]
is to work properly, the bash shell must understand when to act as a python interpreter. Which it doesn't.
I don't believe all those install instructions are off. So I must be missing something. What?
This didn't help, nor did this, in fact trying sudo apt-get install python-pip
led to what I think is an unresolved bug. So I had to revert to this solution, to get me a somewhat working pip. (Now read again from the top).
Edit: Python 2.7. Not 3.x.