Skip to content

Instantly share code, notes, and snippets.

@jsundram
Created May 12, 2014 04:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsundram/f6c3f25a7f763535f39c to your computer and use it in GitHub Desktop.
Save jsundram/f6c3f25a7f763535f39c to your computer and use it in GitHub Desktop.
How I installed Bokeh without conda on OSX 10.8.x
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment