| Reference | Downloads | Github

Can't run anything -- "No module named configparser"?

OS: OS X 10.13.4
PsychoPy version: 3.0.0b4
Standard Standalone? (y/n) y

I’m trying to run any of the demos (in addition to a custom experiment I’m trying to throw together so I can record speakers describing simple scenes) to test out PsychoPy3 and the conversion to psychjs. But, I can’t seem to get to run anything. Am I missing something critical? Below is the full stack trace.

2018-08-16 18:52:05.880 python[58013:11633773] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to (null)
Traceback (most recent call last):
  File "/Users/constantine/Desktop/PsychoPy3 Demos/voiceCapture/", line 14, in <module>
    from psychopy import locale_setup, sound, gui, visual, core, data, event, logging, clock, microphone
  File "/Applications/", line 26, in <module>
    from .text import TextStim
  File "/Applications/", line 41, in <module>
    import arabic_reshaper
  File "/Applications/", line 1, in <module>
    from .arabic_reshaper import reshape, default_reshaper, ArabicReshaper
  File "/Applications/", line 31, in <module>
    from configparser import ConfigParser
ImportError: No module named configparser

I’m struggling to see how that Python 2 vs 3 issue in one of our dependencies could have passed through our testing process without being detected, or conversely, why it isn’t affecting more people.

Could you try downloading a Python 3 version of PsychoPy to see if the issue persists?

This complicates the story, doesn’t it? I actually tried running it in the exact version you linked and I couldn’t even get the standalone version to open. There was an error message asking me to either terminate PsychoPy3 or open up the console, so I tried an earlier version (the 2.7-dependent one).

It might be that configparser is not correctly included in the packaging step. I’ll look into that.

This is fixed (of sorts) in the new 3.0.0b7 although the only fix I could work out was prevents arabic_reshaper from working on Mac with PsychoPy_Py2 standalone installs. If you need arabic text then use one of the python3 installs or any windows version