scottlawsonbc / audio-reactive-led-strip

:musical_note: :rainbow: Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
MIT License
2.67k stars 642 forks source link

Gui issue #368

Open ketoloco opened 1 year ago

ketoloco commented 1 year ago

When trying to run the visualization with gui I get the following error:

AttributeError: module 'pyqtgraph.Qt.QtGui' has no attribute 'QApplication'. Did you mean: 'QGuiApplication'?

I installed PyQT5 and pyqtgraph.

Anyone else experiencing this?

oskar18j commented 1 year ago

HI i couldnt fix the issue itself but i disabled the gui in the configs. That made the error go away

krjan02 commented 1 year ago

It can be fixed by installing pyqtgraph 0.11.0 pip install pyqtgraph==0.11.0

peads commented 3 weeks ago

The answer is for C++, but the underlying cause is the same. https://stackoverflow.com/a/34308462/8372013

ETA: The relevance is that the SO answer helped me figure out why pyqtgraph was throwing the same exception as OP.