_playsoundOSX from AppKit import NSSound ModuleNotFoundError: No module named 'AppKit' code example Example: playsound Appkit pip3 install -U PyObjC