Loading Bokeh in Jupyter Notebook returns: TypeError: a.Operator is undefined

Loading Bokeh in Jupyter Notebook returns: TypeError: a.Operator is undefined

我的系统规格

Python

'3.4.5 |Continuum Analytics, Inc.| (default, Jul  5 2016, 14:53:07) [MSC v.1600 64 bit (AMD64)]'

Jupyter 笔记本

# packages in environment at C:\Anaconda3:
#
notebook                  4.3.0                    py35_0  
notebook                  5.0.0.dev                 <pip>

散景

Name: bokeh
Version: 0.12.5.dev11
Summary: Interactive plots and applications in the browser from Python
Home-page: http://github.com/bokeh/bokeh
Author: Continuum Analytics
Author-email: info@continuum.io
License: New BSD
Location: c:\anaconda3\lib\site-packages\bokeh-0.12.5.dev11-py3.5.egg
Requires: six, requests, PyYAML, python-dateutil, Jinja2, numpy, tornado

问题

当我尝试 运行 Jupyter Notebook 单元格中的以下内容时:

from bokeh.io import output_notebook
from bokeh.resources import INLINE
output_notebook(resources=INLINE)

它returns这个:

Loading BokehJS ...
Javascript error adding output!
TypeError: a.Operator is undefined
See your browser Javascript console for more details.

什么给了?过去一切正常。

我注意到你是 运行 的 "dev build" 版本。开发版本的发布主要是项目本身开发和测试自己的自动化发布基础设施的一种手段,其次是一种让感兴趣的用户更容易获得 "bleeding edge" 版本而无需从源代码构建的方式。但是,它们不受真正完整版本所接受的任何接近测试和审查的约束。它们是在 as-is 提供的,以防它们碰巧有用,没有任何其他保证。

最近进行了一些相当具有侵入性的更改,以从 BokehJS 中删除一些依赖项并使其更小。我一直在笔记本电脑中使用 Bokeh 没有问题,但也许有一些 version-specific 问题需要解决。我建议在 GitHub 问题跟踪器上提交包含所有这些信息的错误报告:

https://github.com/bokeh/bokeh/issues