psychopy.org | Reference | Downloads | Github

Images not being displayed - Mac Catalina

I am having trouble getting PsychoPy to display anything on the screen (MacOS Catalina 10.15.7). I have tried drawing a circle and displaying a png. The same code is working fine on my desktop (running Windows 10). Python 3.8.5 used on both devices. Any advice would be greatly appreciated!

from constants import DISPSIZE, FGC
from psychopy.visual import Window, Circle, ImageStim
from psychopy.core import wait

disp = Window(size = DISPSIZE, units='pix', fullscr = True)
ImageScreen = ImageStim(disp, image = "logo.jpg")
ImageScreen.draw()
disp.flip()
wait(2)
disp.close()

Have you tried running this script using the standalone PsychoPy application? That would isolate whether the problem is due to a dependency issue in your custom Python setup on the Mac.