I am using this program successfully on another laptop (a PC), but I can’t get this to work on my mac. I downloaded the new version of PsychoPy, thinking it might work now. The new version gives me the same error message:
Unexpected error loading library c: dlopen(c, 6): no suitable image found. Did find:
/usr/local/lib/c: stat() failed with errno=13
Traceback (most recent call last):
File “/Users/alexandrahalberstadt/Desktop/NIH/PsychoPy things/MST_Files(not updated) /MST(FINAL-working).py”, line 14, in
from psychopy import locale_setup, gui, visual, core, data, event, logging, sound, parallel
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/visual/init.py”, line 17, in
from .window import Window, getMsPerFrame, openWindows
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/visual/window.py”, line 57, in
from psychopy import core, platform_specific, logging, prefs, monitors, event
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/event.py”, line 44, in
from pyglet.window.mouse import LEFT, MIDDLE, RIGHT
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/pyglet/window/init.py”, line 1817, in
gl._create_shadow_window()
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/pyglet/gl/init.py”, line 205, in _create_shadow_window
_shadow_window = Window(width=1, height=1, visible=False)
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/pyglet/window/init.py”, line 494, in init
display = get_platform().get_default_display()
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/pyglet/window/init.py”, line 1766, in get_default_display
return pyglet.canvas.get_display()
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/pyglet/canvas/init.py”, line 77, in get_display
from pyglet.app import displays
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/pyglet/app/init.py”, line 177, in
event_loop = EventLoop()
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/pyglet/app/base.py”, line 116, in init
self.clock = clock.get_default()
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/pyglet/init.py”, line 357, in getattr
import(import_name)
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/pyglet/clock.py”, line 168, in
_c = pyglet.lib.load_library(‘c’)
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/pyglet/lib.py”, line 135, in load_library
lib = ctypes.cdll.LoadLibrary(name)
File “ctypes/init.pyc”, line 440, in LoadLibrary
File “ctypes/init.pyc”, line 362, in init
OSError: dlopen(c, 6): no suitable image found. Did find:
/usr/local/lib/c: stat() failed with errno=13
If anyone has any additional insight, don’t hesitate to let me know!