'Why does app.exec_() interactively run out the error 'float' object cannot be interpreted as an integer' after execution?
Sorry, I would like to ask you to help solve some related problems I use the code from this post https://gist.github.com/pklaus/5921022 But there have been problems I let him run every song When it reaches 117, it will run out
'libEGL warning: DRI2: failed to authenticate' (Figure 1)
Then run to 126 of def update(): of will jump directly to line 138 to the last line after app.exec_() will keep running
Traceback (most recent call last):
t,v,r = thread.get(1000*1024, downsampling=100)
data = data.reshape(num/downsample,downsample).mean(axis=1)
TypeError: 'float' object cannot be interpreted as an integer
There is a website, it seems to be a problem with pyqt I tried downgrading the pyqtgraph version to 0.12.0 but But still getting the same error pyqt5 also has an installed version of 5.15.2 according to the article https://raspberrypi.stackexchange.com/…/libegl… xserver-xorg-video-fbturbo is not removed What can you do to make it run smoothly?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|