Expyriment 0.10 incompatible with Pygame 2.0 - getting blank screen/hang on MacOS with Pygame 1.9

64 views
Skip to first unread message

LynnF192

unread,
Mar 5, 2021, 7:11:40 AM3/5/21
to expyriment-users
Hi, I'm trying to set up an Eriksen Flanker experiment (is all new to me!) and I can get aliens working with Pygame 2.0 but if I try to install Pygame v2.0 with v0.10 of Expyriment it uninstalls Experiment, then when I re-install Experiment it uninstalls v1.9 of Pygame. If I use Pygame 1.9 I get a screen freeze/hang even if I just try to run the test suite expyriment.control.run_test_suite() Any assistance would appreciated - please put me out of my misery :) 

Christophe Pallier

unread,
Mar 5, 2021, 7:30:30 AM3/5/21
to expyrime...@googlegroups.com
Are you on MacOSX? Could you tell us if the following instructions solve the issue or not? (installing pygame2 should not uninstall expyriment) 
  1. Install XQuartz. Download the .dmg from the official website and open it to install.

  2. Open a Terminal and type pip install expyriment[all]

  3. In the same Terminal, type pip install -U pygame

    This upgrade the version of pygame (1.9) installed along expyriment to pygame (2.0), which is required by recent versions of macOS. (As of 2021-02-23.)


--
Christophe Pallier (http://www.pallier.org)
INSERM Cognitive Neuroimaging Lab (http://www.unicog.org)


On Fri, Mar 5, 2021 at 1:11 PM LynnF192 <lynn.f...@gmail.com> wrote:
Hi, I'm trying to set up an Eriksen Flanker experiment (is all new to me!) and I can get aliens working with Pygame 2.0 but if I try to install Pygame v2.0 with v0.10 of Expyriment it uninstalls Experiment, then when I re-install Experiment it uninstalls v1.9 of Pygame. If I use Pygame 1.9 I get a screen freeze/hang even if I just try to run the test suite expyriment.control.run_test_suite() Any assistance would appreciated - please put me out of my misery :) 

--
You received this message because you are subscribed to the Google Groups "expyriment-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to expyriment-use...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/expyriment-users/f33438bb-b8f2-4db2-9830-acc0220f9832n%40googlegroups.com.
Message has been deleted

LynnF192

unread,
Mar 5, 2021, 8:39:10 AM3/5/21
to expyriment-users
Hi - thanks for coming back to me so quickly - still having trouble - details below - I'm on Mac OS Big Sur ... can install pip but doesn't make any difference - also neither recognises the [All] parameter or any specific ones either - I've been back through the instructions and can't find what is wrong.
Thanks again!

Screenshot 2021-03-05 at 13.36.24.png

Christophe Pallier

unread,
Mar 5, 2021, 8:45:34 AM3/5/21
to expyrime...@googlegroups.com
The message is fine (uninstalling pygame 1.96). The question is: what happens now when you run expyriment scripts? Do they work or not?

--
Christophe Pallier (http://www.pallier.org)
INSERM Cognitive Neuroimaging Lab (http://www.unicog.org)

LynnF192

unread,
Mar 5, 2021, 9:16:07 AM3/5/21
to expyriment-users
Hi - it has started to work - thanks so much for your help! :)
Lynn



Florian Krause

unread,
Mar 5, 2021, 10:29:31 AM3/5/21
to expyrime...@googlegroups.com
Glad to hear you made Expyriment work with Pygame 2. But please also keep in mind that the current Expyriment version does not officially support Pygame 2 yet.

Best,
Florian





--
Florian Krause (Developer)
www.expyriment.org
Reply all
Reply to author
Forward
0 new messages