Unable to Launch Psychopy on Mac

Sonoma 14.5
Newest Psychopy Version 2024.2.3
Every time I try to launch Psychopy, it crashes immediately. Attached is the crash report. I tried uninstalling and reinstalling several times but to no avail.
I urgently need to get started on my project, because I have to submit it to my professor next Friday :frowning_face:

Try installing 2023.2.3

This thread might be relevant:

It worked!! You’re a lifesaver! Thank you!

1 Like

Hello, PsychoPy crahes when I try to open it on my Mac (MacBook Pro, Apple M2, Sonoma 14.4.1). Thanks for your help. Best, Libby. Here is the error message:

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/init.py”, line 378, in getattr
AttributeError: ‘NoneType’ object has no attribute ‘_create_shadow_window’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/Applications/PsychoPy.app/Contents/Resources/boot.py”, line 498, in
File “/Applications/PsychoPy.app/Contents/Resources/boot.py”, line 476, in _run
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 104, in
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 100, in main
File “/Applications/PsychoPy.app/Contents/Resources/psychopyApp.py”, line 28, in start_app
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/_psychopyApp.py”, line 226, in init
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/_psychopyApp.py”, line 262, in onInit
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/init.py”, line 7, in
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/builder.py”, line 46, in
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/dialogs/init.py”, line 27, in
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/app/builder/validators.py”, line 27, in
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/window/init.py”, line 1896, in
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/init.py”, line 384, in getattr
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/gl/init.py”, line 100, in
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/gl/lib.py”, line 141, in
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/gl/lib_agl.py”, line 49, in
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/lib.py”, line 118, in load_library
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/pyglet/lib.py”, line 286, in load_framework
ImportError: Can’t find framework /System/Library/Frameworks/OpenGL.framework.

How did you install it? You seem to be using Python 3.6 and I think the options are 3.8 and 3.10

ok, thanks. I’ve installed 3.10 now and can now open it without any issues. Thanks again, Libby

I have just tried to reopen it again and receive the following Warning Cannot set locale to language “English (Sweden)”. Any suggestions? Thanks!