{ "created": "2015-12-20T19:56:59Z", "hierarchy": [ { "name": "ROOT", "type": "folder", "uri": "/ROOT" }, { "name": "Gevent on OS X", "type": "article", "uri": "Gevent_on_OS_X" } ], "html": "\n\n \n \n \n \n \n \n \n \n \n \n \n Gevent on OS X – Nikhil's Personal Wiki\n \n \n \n \n \n
\n
\n \n
\n
\n \n \n\n

Gevent on OS X\n \n

\n

Saving this here…

\n
pip install bokeh # Fail\n# gevent requires libevent, although you'd never know it from the error message  \nbrew install libevent  \n      \n# configure: error: C compiler cannot create executables ???  \n# Update Command Line tools for XCode  \n# No love  \n# find this: http://stackoverflow.com/questions/13041525/osx-10-8-xcrun-no-such-file-or-directory\nsudo mv  /usr/bin/xcrun /usr/bin/xcrun.bak  \nsudo vim /usr/bin/xcrun  # Replace contents with #!/bin/bash $@   \nsudo chmod +x  /usr/bin/xcrun  \n   \npip install gevent # NOPE  \nsudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install bokeh  \n   \n# FINALLY IT WORKS\n
\n\n
\n \n
\n \n \n \n \n \n\n", "id": "ef70e4da-810e-583e-9bc0-42c75b5eb5bb", "modified": "2023-05-03T20:33:13Z", "revisions": [ { "authorEmail": "mail@nikhil.io", "authorName": "Nikhil Anand", "date": "2023-05-03T20:33:13Z", "id": "13fd9aa2c17070823012a12dd946d050e3ed6bf3", "shortId": "13fd9aa2", "subject": "Initial commit\n", "content": "Saving [this](http://www.snip2code.com/Snippet/55467/How-I-installed-Bokeh-without-conda-on-O) here...\n\n```bash\npip install bokeh # Fail\n# gevent requires libevent, although you'd never know it from the error message \nbrew install libevent \n     \n# configure: error: C compiler cannot create executables ??? \n# Update Command Line tools for XCode \n# No love \n# find this: http://stackoverflow.com/questions/13041525/osx-10-8-xcrun-no-such-file-or-directory\nsudo mv  /usr/bin/xcrun /usr/bin/xcrun.bak \nsudo vim /usr/bin/xcrun  # Replace contents with #!/bin/bash $@  \nsudo chmod +x  /usr/bin/xcrun \n  \npip install gevent # NOPE \nsudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install bokeh \n  \n# FINALLY IT WORKS\n```\n" }, { "authorEmail": "mail@nikhil.io", "authorName": "Nikhil Anand", "date": "2015-12-27T07:27:56Z", "id": "5a5b1a32f41081d062ab86f8869a961bcad79668", "shortId": "5a5b1a32", "subject": "Fix Markdown conversion\n\nSaw half a season of The Office\n", "content": "Saving [this](http://www.snip2code.com/Snippet/55467/How-I-installed-Bokeh-without-conda-on-O) here...\n\n```bash\npip install bokeh # Fail\n# gevent requires libevent, although you'd never know it from the error message \nbrew install libevent \n     \n# configure: error: C compiler cannot create executables ??? \n# Update Command Line tools for XCode \n# No love \n# find this: http://stackoverflow.com/questions/13041525/osx-10-8-xcrun-no-such-file-or-directory\nsudo mv  /usr/bin/xcrun /usr/bin/xcrun.bak \nsudo vim /usr/bin/xcrun  # Replace contents with #!/bin/bash $@  \nsudo chmod +x  /usr/bin/xcrun \n  \npip install gevent # NOPE \nsudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install bokeh \n  \n# FINALLY IT WORKS\n```\n" }, { "authorEmail": "mail@nikhil.io", "authorName": "Nikhil Anand", "date": "2015-12-21T02:30:47Z", "id": "3f2c54b1d767218fcb4855fbac306b015afaf551", "shortId": "3f2c54b1", "subject": "Incremental\n", "content": "`    pip install bokeh # Fail` \n`    # gevent requires libevent, although you'd never know it from the error message` \n`    brew install libevent` \n`    ` \n`   # configure: error: C compiler cannot create executables ???` \n`   # Update Command Line tools for XCode` \n`   # No love` \n`   # find this: `[`http://stackoverflow.com/questions/13041525/osx-10-8-xcrun-no-such-file-or-directory`](http://stackoverflow.com/questions/13041525/osx-10-8-xcrun-no-such-file-or-directory) \n`   sudo mv  /usr/bin/xcrun /usr/bin/xcrun.bak` \n`   sudo vim /usr/bin/xcrun  # Replace contents with #!/bin/bash $@ ` \n`   sudo chmod +x  /usr/bin/xcrun` \n`    ` \n`   pip install gevent # NOPE` \n`   sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install bokeh` \n`    ` \n`   # FINALLY IT WORKS`\n\n[Source](http://www.snip2code.com/Snippet/55467/How-I-installed-Bokeh-without-conda-on-O).\n\n\n[Category: OS X](Category:_OS_X \"wikilink\")\n" }, { "authorEmail": "mail@nikhil.io", "authorName": "Nikhil Anand", "date": "2015-12-20T19:56:59Z", "id": "85bdc275b7575842751e5863989ccc1ce17f42cd", "shortId": "85bdc275", "subject": "Gevent on OS X : First Draft", "content": "`    pip install bokeh # Fail` \n`    # gevent requires libevent, although you'd never know it from the error message` \n`    brew install libevent` \n`    ` \n`   # configure: error: C compiler cannot create executables ???` \n`   # Update Command Line tools for XCode` \n`   # No love` \n`   # find this: `[`http://stackoverflow.com/questions/13041525/osx-10-8-xcrun-no-such-file-or-directory`](http://stackoverflow.com/questions/13041525/osx-10-8-xcrun-no-such-file-or-directory) \n`   sudo mv  /usr/bin/xcrun /usr/bin/xcrun.bak` \n`   sudo vim /usr/bin/xcrun  # Replace contents with #!/bin/bash $@ ` \n`   sudo chmod +x  /usr/bin/xcrun` \n`    ` \n`   pip install gevent # NOPE` \n`   sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install bokeh` \n`    ` \n`   # FINALLY IT WORKS`\n\n[Source](http://www.snip2code.com/Snippet/55467/How-I-installed-Bokeh-without-conda-on-O).\n\n[Category: Nikhil's Notes](Category:_Nikhil's_Notes \"wikilink\")\n[Category: OS X](Category:_OS_X \"wikilink\")\n" } ], "sizeInBytes": 832, "source": "Saving [this](http://www.snip2code.com/Snippet/55467/How-I-installed-Bokeh-without-conda-on-O) here...\n\n```bash\npip install bokeh # Fail\n# gevent requires libevent, although you'd never know it from the error message \nbrew install libevent \n     \n# configure: error: C compiler cannot create executables ??? \n# Update Command Line tools for XCode \n# No love \n# find this: http://stackoverflow.com/questions/13041525/osx-10-8-xcrun-no-such-file-or-directory\nsudo mv  /usr/bin/xcrun /usr/bin/xcrun.bak \nsudo vim /usr/bin/xcrun  # Replace contents with #!/bin/bash $@  \nsudo chmod +x  /usr/bin/xcrun \n  \npip install gevent # NOPE \nsudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install bokeh \n  \n# FINALLY IT WORKS\n```\n", "title": "Gevent on OS X", "untracked": false, "uri": "/Gevent_on_OS_X", "relativePath": "Gevent on OS X.md" }