psychopy.org | Reference | Downloads | Github

Experiment won't run

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): mac os high sierra
PsychoPy version (e.g. 1.84.x): 1.91
Standard Standalone? (y/n) If not then what?:y
**What are you trying to achieve?:**run a simple experiment

**What did you try to make it work?:**I need some advice on this

**What specifically went wrong when you tried that?:**error message
Include pasted full error message if possible. “That didn’t work” is not enough information.

######### Running: /Users/paulfusella/Dropbox/PsychoPy/test_lastrun.py #########
Traceback (most recent call last):
File “soundfile.pyc”, line 142, in
OSError: sndfile library not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/Users/paulfusella/Dropbox/PsychoPy/test_lastrun.py”, line 14, in
from psychopy import locale_setup, sound, gui, visual, core, data, event, logging, clock
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/sound/init.py”, line 79, in
from . import backend_sounddevice as backend
File “/Applications/PsychoPy3.app/Contents/Resources/lib/python3.6/psychopy/sound/backend_sounddevice.py”, line 20, in
import soundfile as sf
File “”, line 961, in _find_and_load
File “”, line 950, in _find_and_load_unlocked
File “”, line 646, in _load_unlocked
File “”, line 616, in _load_backward_compatible
File “soundfile.pyc”, line 156, in
File “posixpath.pyc”, line 78, in join
TypeError: expected str, bytes or os.PathLike object, not list

I would appreciate help with this as soonas possible I’m trying to set-up a pilot study with self paced reading one word per frame using stims in excel files. I attempted to do a simple run with just two sentences but received this error message above.

Thank you for your time,
Paul F.