When I type sudo pip install pyaudio
this error message appears, I already researched google but can not find a solution:
Command "/usr/bin/python3.6 -u -c" import setuptools, tokenize; file = '/ tmp / pip-build-eeidouwx / pyaudio / setup.py'; f = getattr (tokenize, 'open', open) ( file ) ; code = f.read (). replace ('\ r \ n', '\ n'); f.close (); exec (compile (code, file , 'exec')) "install --record /tmp/pip-et7av7k2-record/install-record.txt --single-version-externally-managed --compile "failed with error code 1 in / tmp / pip-build-eeidouwx / pyaudio /