Bokeh quickstart example fails

bokeh, python

Solution

Edit from a Bokeh core dev: This answer is very out of date. Bokeh no longer uses redis, and has not for a long time

Answer found on the bokeh mailing list: installing redis-server solved the problem.

Problem

NOTE: This question concerns the "first generation" Bokeh server, which has been deprecated and removed for several years. Nothing in this question or its answers is relevant to any version of Bokeh >= 0.11 Bokeh: cloned today from quickstart. Python: 2.7.6 Python modules: from Debian Jessie ``` $ ./bokeh-server /home/jwu/g/othersw/bokeh/bokeh/server/start.py:2: UserWarning: libevent version mismatch: system version is '2.0.21-stable' but this gevent is compiled against '2.0.19-stable' import gevent.monkey Traceback (most recent call last): File "./bokeh-server", line 74, in <module> main() File "./bokeh-server", line 71, in main start.start_app(verbose=args.verbose) File "/home/jwu/g/othersw/bokeh/bokeh/server/start.py", line 102, in start_app start_services() File "/home/jwu/g/othersw/bokeh/bokeh/server/start.py", line 91, in start_services save=redis_save File "/home/jwu/g/othersw/bokeh/bokeh/server/services.py", line 81, in start_redis stdin=subprocess.PIPE File "/home/jwu/g/othersw/bokeh/bokeh/server/services.py", line 27, in __init__ stdin=stdin) File "/usr/lib/python2.7/subprocess.py", line 709, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Exception KeyError: KeyError(42871856,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored ``` I have no clue how to interpret the error message. Is the problem with the gevent version (though the message only says UserWarning)? Which file or directory is missing? Which key is in error?

Original source