This should help
$ sudo apt-get install portaudio19-dev python-pyaudio python3-pyaudio
Tested on Ubuntu 18.04
, Python 3.7.2
, pyaudio 0.2.11
Added 8th of Jan 2021:
On Ubuntu 20.04 you have to use:
$ sudo apt install portaudio19-dev python3-pyaudio
More Related Contents:
- How to use google speech recognition api in python? [closed]
- Remove quotes from String in Python
- speech recognition python code not working
- OSError: No Default Input Device Available
- How to fix computer choice in Rock Paper Scissors
- Change specific value in CSV file via Python
- ipython reads wrong python version
- Use a.any() or a.all()
- Restart cumsum and get index if cumsum more than value
- How to add a QVideoWidget in Qt Designer?
- Getting one value from a tuple
- How to access the real value of a cell using the openpyxl module for python
- How do I update Anaconda?
- How to change the datetime tick label frequency for matplotlib plots
- Statistics: combinations in Python
- How do I find out my PYTHONPATH using Python?
- How does python find a module file if the import statement only contains the filename?
- Selenium – MoveTargetOutOfBoundsException with Firefox
- selenium.common.exceptions.WebDriverException: Message: chrome not reachable error while using find_element_by_id Selenium with ChromeDriver
- How to execute a * .PY file from a * .IPYNB file on the Jupyter notebook?
- uWSGI request timeout in Python
- ubuntu 14.04, pip cannot upgrade matplotllib
- Passing double quote shell commands in python to subprocess.Popen()?
- Why doesn’t calling a string method (such as .replace or .strip) modify (mutate) the string?
- Find which version of package is installed with pip
- django apache configuration with WSGIDaemonProcess not working
- How to detect if any element in a dictionary changes?
- Creating a custom widget in tkinter
- Python intern for non-strings
- Redirect to login page if user not logged in using FastAPI-Login package