我想在Wakari上将Bokeh库实现到我的笔记本中,但是我安装了Bokeh但是我收到以下错误消息:
ImportError Traceback (most recent call last)
<ipython-input-2-071dca5015d2> in <module>()
3 from bokeh.sampledata import us_counties, unemployment
4 from bokeh.plotting import *
----> 5 from bokeh.models import HoverTool
6
7 county_xs=[
ImportError: No module named models
代码:
from collections import OrderedDict
from bokeh.sampledata import us_counties, unemployment
from bokeh.plotting import *
from bokeh.models import HoverTool
答案 0 :(得分:2)
我更新了散景包,这似乎解决了这个问题。