# Error message when compiling scripts

**URL:** <https://discourse.psychopy.org/t/error-message-when-compiling-scripts/1420>\
**Category:** Builder\
**Created:** [November 7, 2016, 6:11pm UTC](https://discourse.psychopy.org/t/error-message-when-compiling-scripts/1420 "2016-11-07T18:11:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anna\_Kunz](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Anna\_Kunz](https://discourse.psychopy.org/u/Anna_Kunz)\
**Post date:** [November 7, 2016, 6:11pm UTC](https://discourse.psychopy.org/t/error-message-when-compiling-scripts/1420/1 "2016-11-07T18:11:24Z")

</div>

**OS** (e.g. Win10): Mac 10.10.5 Yosemite  
**PsychoPy version** (e.g. 1.84.x): 1.84.2  
**Standard Standalone? (y/n)** If not then what?: yes  
**What are you trying to achieve?:** Trying to build and execute a program for a class

**What did you try to make it work?:** updated my operating system, install a new version of Python, restart my computer, uninstall and reinstall Python.

**What specifically went wrong when you tried that?:**  
OSError: dlopen(c, 6): no suitable image found. Did find:  
/usr/local/lib/c: stat() failed with errno=13

I have been trying to get PsychoPy to run on my computer for over a month. The scripts I create work fine on other computers that I have access to, which have the same version of Python, but a different OS (They have OSX El Capitan 10.11.6).

Also when I first download PsychoPy on my computer nothing pops up to run diagnostics, but when I open it for the first time on other computers a gray screen pops up and it seems as though PsychoPy is testing animations or something alone those lines. Is this related to why I am having trouble compiling and running scripts?

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [November 10, 2016, 10:53am UTC](https://discourse.psychopy.org/t/error-message-when-compiling-scripts/1420/2 "2016-11-10T10:53:53Z")

</div>

From that level of information I’m afraid I have no real idea. I use OSX 10.10 all the time. I assume you’re using the standalone installer.

> [@Anna\_Kunz](#):
>
> Also when I first download PsychoPy on my computer nothing pops up to run diagnostics, but when I open it for the first time on other computers a gray screen pops up and it seems as though PsychoPy is testing animations or something alone those lines. Is this related to why I am having trouble compiling and running scripts?

This is just because that only runs the first time you as a user run the application. Re-installing doesn’t get rid of the user settings. You could try removing the user prefs and application data as well. These are in a “hidden” folder called .psychopy in your home folder. You could go to the terminal and do `rm -R ~/.psychopy2` to get rid of them and try restarting psychopy
