John Wooten
John Wooten

Reputation: 745

Trying to install PyAudio on OS X ( 10.11.3)

I used brew to install port audio. I then tried pip install pyaudio.

I get:

error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.9" but "10.11" during configure

How can I set the MACOSX_DEPLOYMENT_TARGET so that I don't get this error?

Upvotes: 2

Views: 387

Answers (2)

Matthias
Matthias

Reputation: 4884

You can try to install the sounddevice module instead of PyAudio:

pip install sounddevice

UPDATE: To install it as a user (without needing sudo), use:

pip install sounddevice --user

Upvotes: 1

ForceBru
ForceBru

Reputation: 44858

You can try export MACOSX_DEPLOYMENT_TARGET='desired value' in Terminal just before you run the installation process.

Upvotes: 2

Related Questions