# AttributeError: No audio API found

**URL:** <https://discourse.psychopy.org/t/attributeerror-no-audio-api-found/5272>\
**Category:** Other\
**Created:** [September 8, 2018, 7:11pm UTC](https://discourse.psychopy.org/t/attributeerror-no-audio-api-found/5272 "2018-09-08T19:11:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jessgoldstein6](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jessgoldstein6](https://discourse.psychopy.org/u/jessgoldstein6)\
**Post date:** [September 8, 2018, 7:11pm UTC](https://discourse.psychopy.org/t/attributeerror-no-audio-api-found/5272/1 "2018-09-08T19:11:44Z")

</div>

Hi, I am new to Psychopy and I am currently attempting to run an experiment through my terminal on my MacBook (I had issues downloading the physical app so I decided to only use the program through my terminal). When I run the script, the following error appears

‘’'File “NBackTask.py”, line 11, in \<module\>

from psychopy import visual, core, data, event, logging, sound, gui

File “/anaconda2/envs/psychopy/lib/python2.7/site-packages/psychopy/sound.py”, line 659, in \<module\>

raise AttributeError(msg)

AttributeError: No audio API found. Try installing pyo 0.6.8+, or pygame 1.8+’’’

After receiving the error, I downloaded both pyo and pygame. However, even with the audio software downloaded, this error still appears. I have checked numerous times and the audio programs are definitely downloaded but psychopy still produces the error. Does anybody know how to get eliminate this problem? Thank you!
