charuka dissanayaka
charuka dissanayaka

Reputation: 23

ImportError: cannot import name 'Nullable' from 'bokeh.core.properties' (C:\ProgramData\Anaconda3\lib\site-packages\bokeh\core\properties.py)

above the error pop up when importing the holoviews.I try different methods but didn't work. The following import

        import plotly.express as px
        from wordcloud import WordCloud,STOPWORDS
        import holoviews as hv
        from holoviews import opts
        hv.extension('bokeh')
        
        And installed the bokeh using pip install bokeh
produces an error:
        ImportError: cannot import name 'Nullable' from 'bokeh.core.properties' (C:\ProgramData\Anaconda3\lib\site-packages\bokeh\core\properti`enter code here`es.py)

        how can I fix this error?

Upvotes: 0

Views: 1842

Answers (2)

charuka dissanayaka
charuka dissanayaka

Reputation: 23

I update the holoviews and bokeh versions, bokeh=2.3.2 holoviews=1.14 nullable is recently added the -v 2.3.2. Now it's working fine.

Upvotes: 1

bigreddot
bigreddot

Reputation: 34568

Nullable is a recent addition. You need to install a newer version of Bokeh.

Upvotes: 2

Related Questions