Unhandled internal error on opening/creating project

Heya everyone,

I’m very new to PsychoPy and encountered my first problem when opening or creating new files. When opening any file or creating a new project an unhandled internal error pops up. The following details are for a new project:

Traceback (most recent call last):
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/coder/coder.py», line 2193, in fileNew
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/coder/coder.py», line 2350, in setCurrentDoc
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py», line 1460, in getProject
psychopy.exceptions.DependencyError: gitpython and a git installation required for getProject()

And these are the details for opening a project someone had sent me:

Traceback (most recent call last):
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/coder/coder.py», line 2374, in fileOpen
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/_psychopyApp.py», line 855, in newBuilderFrame
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py», line 184, in init
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py», line 4624, in init
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/ribbon.py», line 201, in addPavloviaProjectCtrl
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/ribbon.py», line 403, in addPavloviaProjectCtrl
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/ribbon.py», line 901, in init
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/ribbon.py», line 956, in updateInfo
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/builder/builder.py», line 1646, in project
File «/Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/projects/pavlovia.py», line 1460, in getProject
psychopy.exceptions.DependencyError: gitpython and a git installation required for getProject()

[Updated ca. 1 h after posting]
At first PsychoPy appears to be working when I simply click “Ok” and I can use the builder fine, but once I run experiments it goes wrong. Some things work sometimes, but for example text items don’t show up and I regularly need to close the experiment window with Cmd+Opt+Esc.
System information down below. I tried reinstalling it, but that hasn’t changed things. Any suggestions are appreciated!

Thanks and best,
Lukas

System information:

PsychoPy 2024.2.1

Paths to files on the system:
userPrefsFile: /Users/Luke/.psychopy3/userPrefs.cfg
appDataFile: /Users/Luke/.psychopy3/appData.cfg
demos: /Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/demos
appFile: /Applications/PsychoPy.app/Contents/Resources/lib/python3.10/psychopy/app/PsychoPy.py

System Info:
Operating System: macOS-15.0-x86_64-i386-64bit
Processor: i386
CPU freq (MHz): 2400
CPU cores: 8 (physical), 8 (logical)
Installed memory: 17179869184 (Total), 1552633856 (Available)
macOS 15.0 running on x86_64

Python info:
Executable path: /Applications/PsychoPy.app/Contents/MacOS/python
Version: 3.10.11 (v3.10.11:7d4cc5aa85, Apr 4 2023, 19:05:19) [Clang 13.0.0 (clang-1300.0.29.30)]
(Selected) Installed Packages:
numpy (1.26.4)
scipy (1.13.1)
matplotlib (3.9.1)
pyglet (1.5.27)
PyGLFW [not installed]
pyo [not installed]
psychtoolbox (3.0.19.0)
wxPython (4.2.1)

OpenGL Info:
Vendor: Apple
Rendering engine: Apple M1
OpenGL version: 2.1 Metal - 89.3
Shaders supported: True
(Selected) Extensions:
GL_ARB_multitexture: True
GL_EXT_framebuffer_object: True
GL_ARB_fragment_program: True
GL_ARB_shader_objects: True
GL_ARB_vertex_shader: True
GL_ARB_texture_non_power_of_two: True
GL_ARB_texture_float: True
GL_STEREO: False
max vertices in vertex array: 1048575

Hi There, we have been made aware of some difficulties faced by mac users with the current release, please may you try installing this release and let us know if you still encounter issues?

Thanks!
Becca

Hi Becca, thank you for your reply. I’ve installed it and it appears to be working fine now!
Best, Lukas