I have python 3.6.8 installed on CentOS7 and I'm trying to install pyaudio with
sudo python3.6 -m pip install pyaudio
This format worked to install a number of other things right beforehand, but if I try to use it here i get the following error
src/_portaudiomodule.c:28:10: fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
pip install pyaudio yeilds the same results
I have read the question and answer here but I still cannot figure it out
Any advice in installation? Thank you in advance!