psychopy.org | Reference | Downloads | Github

No sound libs could be loaded

Hi, I am getting an error as follows when trying to run a Psychopy based Python package. I have Pyo installed, and I am using Mac Os Sierra.

Traceback (most recent call last):
  File "sperling.py", line 16, in <module>
    from psychopy import visual, event, core, sound, gui
  File "/usr/local/lib/python2.7/site-packages/psychopy/sound/__init__.py", line 100, in <module>
    .format(prefs.general['audioLib']))
psychopy.exceptions.DependencyError: No sound libs could be loaded. Tried: [u'pyo', u'pygame']
Check whether the necessary sound libs are installed

Can anyone help me resolve this error.?
Thanks in Advance!