Using Windows 10, Anaconda Navigator 1.6.3, Spyder 3.2.3 (version 3.2.4 not available for updating on Anaconda)
Installed bokeh on Spyder sing !pip install bokeh
Message said installed OK.
I’m doing homework and following the dots so far, instructions are to:
import bokeh
from bokeh.io import output_notebook
from bokeh.io import show
output_notebook ()
from bkcharts import Histogram, Scatter, BoxPlot
``
The last command is where it craps out:
Traceback (most recent call last):
File “”, line 1, in
from bkcharts import Histogram
File “E:\Anaconda\lib\site-packages\bkcharts_init_.py”, line 8, in
from .chart import Chart, defaults
File “E:\Anaconda\lib\site-packages\bkcharts\chart.py”, line 19, in
from bokeh.models import CategoricalAxis, DatetimeAxis, FactorRange, glyphs, Grid, HoverTool, Legend, LegendItem, LinearAxis, markers, Plot
ImportError: cannot import name ‘LegendItem’
Traceback (most recent call last):
File “”, line 1, in
from bkcharts import Histogram
File “E:\Anaconda\lib\site-packages\bkcharts_init_.py”, line 8, in
from .chart import Chart, defaults
File “E:\Anaconda\lib\site-packages\bkcharts\chart.py”, line 19, in
from bokeh.models import CategoricalAxis, DatetimeAxis, FactorRange, glyphs, Grid, HoverTool, Legend, LegendItem, LinearAxis, markers, Plot
ImportError: cannot import name ‘LegendItem’
``
Any suggestions how to fix this?