If I try installing PyAudio 2.11 using
python setup.py install
I get an error (only copied the error section, not the entire output):
src/_portaudiomodule.c(29) : fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory
error: command
'C:\\Users\\lukec\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2
BUT - if I use pip install pyaudio, it works fine. Why the discrepancy?