Skip to content

Get error: module 'bokeh' has no attribute '__version' #247

@notanymore

Description

@notanymore

Describe the bug
A clear and concise description of what the bug is and how to reproduce it. If applicable, add screenshots.

Environment
OS: Windows 10
Python: 3.11.7
IDE: PyCharm

Package versions
ipython==8.20.0
ipython-genutils==0.2.0
pandasgui==0.2.14
plotly==5.9.0
PyQt5==5.15.10
PyQt5-sip==12.13.0
PyQtWebEngine==5.15.10
bokeh==3.3.0

In source file utility.py:446, following code:
in get_figure_type
if int(bokeh.__version.split(".")[0]) < 3:
^^^^^^^^^^^^^^^
AttributeError: module 'bokeh' has no attribute '__version'. Did you mean: 'version'?

Manual fix: after changing '__version' according to the instruction above provided by PyCharm, everything works OK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions