Please do not report this question as a duplicate, because none of the already available Solution working for me, I tested them all
So, I am trying
elaborating on @Sidd Rajput 's answer since I did not find this clearly stated, it's not enough to set this inside your script/project, if you're importing -- pyaudio.py itself needs to be modified
def read(self, num_frames, exception_on_overflow=False):
^Line 589/590 in pyaudio.py v0.2.8: