I was trying to install pyaudio following the steps:
1) sudo apt-get install python-dev
2) sudo apt-get install portaudio19-dev
3) sudo pip install pyaudio
Couldn't get through step 2.
Error message: Some packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:
The following packages have unmet dependencies:
portaudio19-dev : Depends: libjack-dev
Depends: libportaudio2 (= 19+svn20140130-1) but 19.6.0-1 is to be installed
E: Unable to correct problems, you have held broken packages.
python3
? If so you should use python3-dev and pip3 – Milliways Jun 5 '18 at 3:49