Audio problem: " 'Stream' object has no attribute 'handle' "

I actually managed to fix the microphone problem in my experiment also when running it offline in PsychoPy by doing two things:

  • changing the sample rate from 16kHz to 44.1kHz (click on microphone component and then change the sample rate under the tab “Hardware”)
  • disabling all microphone components except for one (only relevant if you have more than one microphone component in your experiment)

Maybe these changes will help you too.

I think the problem with the resources is not caused by the microphone component but by e.g. image files, csv files or other files that your experiment is using. I’ve also seen this error before and, if I remember correctly, I solved it by adding the file paths under experiment settings (the gear icon in PsychoPy Builder) > online > additional resources.