Search code examples
pythondata-visualizationbokehimporterrorholoviews

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?

Solution

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