Somehow pip --upgrade
doesn't upgrade any packages.
I'm on OSX El Capitan (10.11.3) and installed python using brew install python
Python: /usr/local/bin/python@ -> ../Cellar/python/2.7.11/bin/python
Pip: /usr/local/bin/pip@ -> ../Cellar/python/2.7.11/bin/pip
After successful install I run pip install --upgrade pip
.
Full output:
$ pip install --upgrade pip
Collecting pip
Using cached pip-8.1.0-py2.py3-none-any.whl
Installing collected packages: pip
Successfully installed pip-8.0.2
You are using pip version 8.0.2, however version 8.1.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Why doesn't pip install the new version?
Update
I think it has something to do with my ~/.pydistutils.cfg
file which fixes the DistutilsOptionError: must supply either home or prefix/exec-prefix -- not both
error when running pip
. I followed these instructions