Unable to upgrade python six package in mac osx 10.10.2 Unable to upgrade python six package in mac osx 10.10.2 python python

Unable to upgrade python six package in mac osx 10.10.2


I resolved the problem by the following method.

  1. Download the six-1.10.0.tar.gz package
  2. Use this command to install it.

python setup.py install

This works because it installs the new version of six to /Library/Python/2.7/site-packages/ which is searched before /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/


Your pip binary belongs to /usr/local/bin/python, whereas python points to /usr/bin/python. As a consequence

pip install --upgrade six

will install to /usr/local/bin/python.

The command below will make sure that the right version of pip is used:

python -m pip install --upgrade six


For me, just using homebrew fixed everything.

brew install python