how to import pygame on mac code example Example: install pygame on mac python3 -m pip install -U pygame==2.0.0.dev6