Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 832 Bytes

Gevent on OS X.md

File metadata and controls

20 lines (19 loc) · 832 Bytes

Saving this here...

pip install bokeh # Fail
# gevent requires libevent, although you'd never know it from the error message  
brew install libevent  
      
# configure: error: C compiler cannot create executables ???  
# Update Command Line tools for XCode  
# No love  
# find this: http://stackoverflow.com/questions/13041525/osx-10-8-xcrun-no-such-file-or-directory
sudo mv  /usr/bin/xcrun /usr/bin/xcrun.bak  
sudo vim /usr/bin/xcrun  # Replace contents with #!/bin/bash $@   
sudo chmod +x  /usr/bin/xcrun  
   
pip install gevent # NOPE  
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install bokeh  
   
# FINALLY IT WORKS