This seems to be a frequent problem on Mac. What is your version of Psychopy?
You could try this, as suggested in other posts: