diff --git a/anki/sound.py b/anki/sound.py index 6a13ac24e..493df3351 100644 --- a/anki/sound.py +++ b/anki/sound.py @@ -74,6 +74,10 @@ if sys.platform == "win32": else: si = None +if sys.platform.startswith("darwin"): + # make sure lame, which is installed in /usr/local/bin, is in the path + os.environ['PATH'] += ":" + "/usr/local/bin" + def retryWait(proc): # osx throws interrupted system call errors frequently while 1: