ImportError: cannot import name PolyDrawTool (Not able to Import - PolyDrawTool)
ImportError: cannot import name PolyDrawTool (Not able to Import - PolyDrawTool)
I am Trying to run this example(无法导入 - PolyDrawTool)
Python 2.7
散景 v0.12
出现导入错误:
ImportError Traceback (most recent call last)
<ipython-input-1-cc6a3ae44bb8> in <module>()
1 from bokeh.plotting import figure, output_file, show
----> 2 from bokeh.models import PolyDrawTool
3
4 output_file("tools_poly_draw.html")
5
ImportError: cannot import name PolyDrawTool
PolyDrawTool
是一个非常新的功能,它比版本 0.12
更新得多。您需要更新您的 Bokeh 版本才能使用它。当前最新版本是 0.12.15
.
I am Trying to run this example(无法导入 - PolyDrawTool)
Python 2.7
散景 v0.12
出现导入错误:
ImportError Traceback (most recent call last)
<ipython-input-1-cc6a3ae44bb8> in <module>()
1 from bokeh.plotting import figure, output_file, show
----> 2 from bokeh.models import PolyDrawTool
3
4 output_file("tools_poly_draw.html")
5
ImportError: cannot import name PolyDrawTool
PolyDrawTool
是一个非常新的功能,它比版本 0.12
更新得多。您需要更新您的 Bokeh 版本才能使用它。当前最新版本是 0.12.15
.