I am using a conda enviroment on mac and I want to install pyAudio. I tried to follow the suggestion in many threads to run
brew install portaudio
r
pip install --global-option='build_ext' --global-option='-I/usr/local/include' --global-option='-L/usr/local/lib' pyaudio
But it still didn't work from within the conda enviroment. However, running
pip install --global-option='build_ext' --global-option='-I/usr/local/include' --global-option='-L/usr/local/lib' pyaudio
worked outside of the conda enviroemtn (in the "base" enviroemtn").
What might be the reason? How can I install pyAudio inside the conda enviroment?
Try conda install -c anaconda pyaudio
Source: https://anaconda.org/anaconda/pyaudio
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With