I am trying to install latest version of six python package but I have following issues. Can\'t get rid of six 1.4.1 in mac OSX 10.10.2
sudo pip install six
I came across this exact issue when using pip to install the openstack client. My fix was to use easy_install instead of pip, as it utilizes /Library/Python/2.7/site-packages/
for module installation instead of the /System/Library/Frameworks/Python.framework/Versions/2.7/Extras
. If this workaround is not an option for you, then I can confirm that @Masakazu Matsushita has the correct workaround of setting PYTHONPATH
to /Library/Python/2.7/site-packages
. To implement that workaround, add this line:
export PYTHON_PATH=/Library/Python/2.7/site-packages
to your ~/.bashrc
and ~/.profile
(if its a GUI Python application that you are trying to install).