psychopy.org | Reference | Downloads | Github

ImportError: Library "c" not found

#1

I’m using Mac OS andI’m trying to put an image in psychopy and when i use

img = visual.ImageStim(win=win, image="arrow.png")
img.draw()

I get an ImportError:

raise ImportError('Library "%s" not found.' % names[0])
ImportError: Library "c" not found.

I seems like is a pyglet error, however the solutions offered on the internet for this problem don’t solve it for me

My MAC version is:
macOS 10.14 (18A391)

Python version:

Python 3.6.2 |Anaconda custom (64-bit)| (default, Sep 21 2017, 18:29:43) 
[GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin

Pyschopy version: 3.0.4

Can anyone help me with this? Thanks

#2

I don’t know but my guess is that this is some broken package in the installation. Could you use the Standalone installation instead? If you want anaconda for some other reason too (e.g. data analysis) that’s fine - they can play alognside each other quite happily.