首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Bokeh快速启动示例失败

Bokeh快速启动示例失败
EN

Stack Overflow用户
提问于 2014-01-28 19:48:39
回答 3查看 860关注 0票数 4

注意到:这个问题涉及到“第一代”Bokeh服务器,它已经被废弃和删除了好几年。本问题或其答案与Bokeh >= 0.11的任何版本无关。

今天从快速开始就克隆了。

Python: 2.7.6

Python模块:来自Debian Jessie

代码语言:javascript
复制
$ ./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)?缺少哪个文件或目录?哪把钥匙出错了?

EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2014-01-30 14:23:51

编辑从Bokeh核心开发:这个答案是非常过时的。Bokeh不再使用redis,而且很久没有使用它了。

在bokeh邮件列表中可以找到答案:安装redis服务器解决了问题。

票数 3
EN

Stack Overflow用户

发布于 2016-02-20 01:40:24

以前的答案已经过时了。在Bokeh版本0.11中,有一个新的Bokeh服务器,它通过执行bokeh serve来运行。此外,redis不再是依赖项(甚至不是可选的)。

票数 3
EN

Stack Overflow用户

发布于 2017-11-12 00:16:36

我想补充一个小的东西,有关的例子,在一开始是行不通的.

在克隆bokeh和尝试示例时,“git签出”系统上使用的版本的标记版本“git签出”非常重要。如果没有,您将使用可能与系统上使用的特定版本不兼容的主分支示例。可以在主版本中实现一些改进,包括安装版本中没有的特性。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21415373

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档