Skip to content

Commit

Permalink
RF: import readline early for systems where this must be done before …
Browse files Browse the repository at this point in the history
…visual

It isn't actually clear to be why (only) some systems crash if readline is
imported by sound (later on in the script) but reports are that importing
earlier fixes the problem
  • Loading branch information
peircej committed Feb 11, 2020
1 parent fd257ca commit 4a80060
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions psychopy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@

from psychopy.tools.versionchooser import useVersion, ensureMinimal

# import readline here to get around an issue with sounddevice
# https://github.com/psychopy/psychopy/issues/2230
# https://github.com/psychopy/psychopy/issues/2344
# https://github.com/psychopy/psychopy/issues/2662
import readline

0 comments on commit 4a80060

Please sign in to comment.