can't import MSEvent from AppKit python 3 code example Example: playsound Appkit pip3 install -U PyObjC