How to install PyAudio in Python
![how to install pyaudio in python](https://pythonpoint.net/wp-content/uploads/2020/12/how-to-install-pyaudio-in-python-1024x576.jpg)
PyAudio provides Python bindings for PortAudio, the cross-platform audio I/O library. With PyAudio, you can easily use Python to play and record audio on a variety of platforms.
Follow the steps to install PyAudio in Windows system:
- Find your Python version by
python --version
, the easiest way to check either you have 64 or 32 Python just open it in the terminal:
![](https://pythonpoint.net/wp-content/uploads/2020/12/Screenshot-2020-12-31-115514-1024x115.jpg)
- Find the appropriate
.whl
file from here.for example, mine isPyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl
, and download it. - Go to the folder where it is downloaded
- Install the
.whl
file withpip
, for example :
pip install PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl
![](https://pythonpoint.net/wp-content/uploads/2020/12/Screenshot-2020-12-31-120004.jpg)
You have successfully installed PyAudio in your Windows machine.
Subscribe
Login
Please login to comment
0 Discussion