adamerose / adamerose/PandasGUI

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

Aperta
#247 1 commento 1 reazione 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
3.3k
Fork
239
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.