Skip to content
Back to posts

Fixing gevent Installation Errors on OS X 10.11

A fix for gevent installation failures on OS X 10.11 caused by the protected system Python and bundled six package.

On OS X 10.11, installing gevent directly with pip failed.

The original image has been removed from the source site: original image URL

I found several possible fixes on Stack Overflow, but they all failed because six 1.4.1 could not be uninstalled. The operating system ships that version with its framework-based Python installation. System Integrity Protection prevents it from being removed, even by the root user.

The simplest solution is to install and use your own Python. Other approaches are discussed in this pip issue.

Terminal window
brew install python

Originally published on SegmentFault.

Copyright notice

Unless otherwise stated, quietin owns the copyright in all articles. All rights reserved. Except as permitted by law or with prior written permission, reproduction or republication, in whole or in part, is prohibited. Permitted quotations must credit the author and link to the original article.