adamerose / PandasGUI

A GUI for Pandas DataFrames
MIT No Attribution
3.15k stars 226 forks source link

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

Open notanymore opened 5 months ago

notanymore commented 5 months ago

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.