I was a little addicted when I thought about trying Google Api, so I will write the cause and solution.
It seems that python, which is installed by default on Mac, already has a package called six
under /System/Library/Frameworks/Python.framework/Versions/2.7/Extras
.
This was resolved before / Library / Python / 2.7 / site-packages
, which was due to the package not being able to be updated.
Don't use the default python. If you are going to use python from now on, I think this solution is better.
I was able to solve it with the following command.
export PYTHONPATH=/Library/Python/2.7/site-packages
https://github.com/google/google-api-python-client/issues/100 http://stackoverflow.com/questions/29485741/unable-to-upgrade-python-six-package-in-mac-osx-10-10-2/29666702#29666702