Hello,
Any help with this problem would be greatly appreciated! I downloaded PsychoPy on a new desktop and tried to run a task, but received the error below about audio libraries. However, my task does not have any need for an audio library or sound. Is there a way to get around this error so that my task will run? See error below:
2.0132 ERROR Failed to load any of the audioLibs: [‘ptb’]. Falling back to PsychToolbox (‘ptb’) backend for sound. Be sure to add ‘ptb’ to preferences to avoid seeing this message again.
Traceback (most recent call last):
2.0173 ERROR No audioLib could be loaded. Tried: [‘ptb’]
Check whether the necessary audioLibs are installed.
File “/Users/johnw/Downloads/Allison_RFT_task/FINAL_RFT_Task_Updated2025-02-18-25_lastrun.py”, line 25, in
from psychopy import sound, gui, visual, core, data, event, logging, clock, colors, layout, hardware
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/sound/init.py”, line 262, in
raise ImportError("None of the audio library backends could be imported. "
ImportError: None of the audio library backends could be imported. Tried: [‘ptb’]
Check whether the necessary audioLibs are installed and can be imported successfully.
################# Experiment ended with exit code 1 [pid:8031] #################
**PsychoPy version: 2024.2.4 Py 3.8
**Standard Standalone Installation? Yes
**Do you want it to also run online? Yes
Thanks in advance!