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.71k stars 640 forks source link

Gui issue #368

Open ketoloco opened 2 years ago

ketoloco commented 2 years 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 5 months 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.