Error installing Zappa on MacOS: “error: could not create /Library/Python/2.7/site-packages/requestlogger”

Attempting to install Zappa on MacOS with:

pip install zappa

I get an error:

error: could not create '/Library/Python/2.7/site-packages/requestlogger': Permission denied

Searching for this error I found similar errors installing other packages, and the recommendation seems to be to use the –home option to install to your home dir. So instead, this worked:

pip install --home zappa

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.