Some notes from my efforts to get bokeh working on heroku (which I have now).
Firstly, I used a buildpack:
$ heroku config:set BUILDPACK_URL=[https://github.com/thenovices/heroku-buildpack-scipy](https://github.com/thenovices/heroku-buildpack-scipy)
I needed to add numpy, pandas, bokeh slowly, so build wouldn’t time out. So:
I added numpy to my requirements.txt, and deployed.
Then added pandas to my requirements.txt, and deployed.
Then added bokeh to my requirements.txt, and deployed.
Each time it checks whether packages are already installed so this incremental approach worked. I can imagine this could get tedious, but worked for me.
Finally, at some point, can’t remember which, I needed to do:
$ heroku config:add LD_LIBRARY_PATH=/app/.heroku/vendor/lib/atlas-base/atlas:/app/.heroku/vendor/lib/atlas-base:/app/.heroku/vendor/lib/
Hope this helps,
On Wed, Jan 28, 2015 at 10:27 AM, Benji Xie [email protected] wrote:
Python side. I’ve been trying to include bokeh as a dependency (in requirements.txt).
This buildpack is interesting/exciting…
On Wednesday, January 28, 2015 at 1:22:28 PM UTC-5, Nick Roth wrote:
Also, building numpy? For those services, why not just use the pre-built stuff from conda? I haven’t worked with Heroku and conda, but a quick search popped up with this: https://github.com/kennethreitz/conda-buildpack/blob/master/README.md
On Wednesday, January 28, 2015 at 12:17:24 PM UTC-6, Benji Xie wrote:
Not really a problem or a question but more of an FYI:
**Bokeh (0.7.0) is quite large. **
I have been trying to host a dashboard built with bokeh widgets (similar to stock_applet). Thus far, I have tried both Heroku and OpenShift.
The issue I have been running into is that the services I have been using time out when attempting to include Bokeh and its dependencies (usually around building numpy).
With Heroku, it is a 15 minute timeout (you can get around this by submitting a ticket and asking for additional build time).
With Openstack, the error message is a bit more cryptic, but I also suspect it is a timeout.
Again, just an FYI. If anyone has found a (free) PaaS that will accept Bokeh, please let me know!
You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/4153fe35-85f4-491d-9465-0ab059188acb%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.