Reputation: 745
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
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
Reputation: 44858
You can try export MACOSX_DEPLOYMENT_TARGET='desired value'
in Terminal just before you run the installation process.
Upvotes: 2