I have Ubuntu 16.04. My system has 2 versions of Python. One is a 2.7.12(existed by default) and one is a 3.6.5 which I installed. For one of my projects I required the pyaudio module of python for which I typed in the command
sudo apt-get install python-pyaudio python3-pyaudio
It got installed successfully but the problem is that it got installed only on python 2.7.12 and not for python 3.6.5. What should I do to get it for 3.6.5 as well?