Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Expyriment Doesn't Move ( problem)


I'm a beginner of expyriment and have a trouble about running python files.
I can not run even a tutorial code(
This is my pc spec → macOS 10.12.6, python3.6, expyriment0.9.0
I would appreciate if you could help me.

kazukiMacBook-Pro:desktop kazuki$ python
Expyriment 0.9.0 (Python 3.6.1)
Traceback (most recent call last):
File "/Users/kazuki/anaconda/lib/python3.6/site-packages/expyriment/stimuli/", line 99, in init
with open(self._text_font, 'rb') as f:
FileNotFoundError: [Errno 2] No such file or directory: ''

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 4, in
File "/Users/kazuki/anaconda/lib/python3.6/site-packages/expyriment/control/", line 454, in initialize
position=(0, -5))
File "/Users/kazuki/anaconda/lib/python3.6/site-packages/expyriment/stimuli/", line 102, in init
raise IOError("Font '{0}' not found!".format(text_font))
OSError: Font 'None' not found!


  • Hi there,

    it seems that you are trying to use a font that is not available.
    Are you using any special fonts?
    Can you send me the content of your file.
    How did you install Expyriment?

  • Thank you for your responding.
    I don't use any special fonts.
    I installed Expyriment by using pip command. (pip install expyriment)

    import expyriment

    exp ="First Experiment")



  • Mmh, that is strange. Could you give me the output of:

    import expyriment

    Also, has XQuartz been installed correctly?

  • Oh... XQuartz has not been installed correctly. and other files work well after I installed XQuartz correctly.
    Thank you very much!

  • Glad this is solved! Enjoy!

Sign In or Register to comment.