| Reference | Downloads | Github

Importing parallel port results in OSError: the modul could not be found


Hello everyone,

When I try to import parallel (from psychopy import parallel) with the standalone Psychopy v1.90.3 (Python 3.6.3) on Win10, I get the following OSError.
Is the error simply telling me that my laptop has no parallel port? For now, I couldn’t test the command on a computer with a parallel port. Or is there some other reason?

Thank you very much for your help!

Traceback (most recent call last):
  File "C:\folder\", line 1, in <module>
    from psychopy import parallel
  File "C:\Program Files (x86)\PsychoPy2_PY3\lib\site-packages\psychopy\parallel\", line 40, in <module>
    if hasattr(windll, 'inpout32'):
  File "C:\Program Files (x86)\PsychoPy2_PY3\lib\ctypes\", line 418, in __getattr__
    dll = self._dlltype(name)
  File "C:\Program Files (x86)\PsychoPy2_PY3\lib\ctypes\", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] Das angegebene Modul wurde nicht gefunden


Look through some similar posts on this forum. In essence, I think you also need to install a parallel port driver (the source of the the inpout32 referred to in your error message), separate to PsychoPy itself.


Thanks a million!