4

注意:这个问题涉及“第一代”散景服务器,该服务器已被弃用和删除了几年。此问题或其答案中的任何内容均与 Bokeh >= 0.11 的任何版本无关



散景:今天从快速入门克隆。

蟒蛇:2.7.6

Python 模块:来自 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

我不知道如何解释错误消息。gevent 版本有问题吗(尽管消息只显示 UserWarning)?缺少哪个文件或目录?哪个键有误?

4

3 回答 3

3

从 Bokeh 核心开发人员编辑:这个答案已经过时了。Bokeh不再使用redis了,很久没用了

在散景邮件列表中找到答案:安装 redis-server 解决了问题。

于 2014-01-30T14:23:51.167 回答
3

以前的答案非常过时。从 Bokeh 版本开始0.11,有一个新的 Bokeh 服务器,通过执行bokeh serve. 此外,redis不再是依赖项(甚至不是可选的依赖项)。

于 2016-02-20T01:40:24.107 回答
0

我想添加一些与起初不起作用的示例相关的小东西......

在克隆散景和尝试示例时,“git checkout”系统上使用的版本的«标签版本»非常重要。如果没有,您将使用可能不适用于您系统上使用的特定版本的主分支示例。一些改进可能会在主版本中实现,包括已安装版本中不可用的功能。

于 2017-11-12T00:16:36.003 回答