Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: ModuleNotFoundError: No module named 'pyaudio' #3

Open
Ishan-10038 opened this issue Oct 25, 2021 · 1 comment
Open

Error: ModuleNotFoundError: No module named 'pyaudio' #3

Ishan-10038 opened this issue Oct 25, 2021 · 1 comment

Comments

@Ishan-10038
Copy link

Dear Author,
When I am running the codes python object-detection-and-line-cross.py and python audio_playback_bg.py, I am getting the following error.

File "C:\Users\Ishan.Borkar\Documents\October 2021\21-10-2021(object tracking line crossing)\object-tracking-line-crossing-area-intrusion-master\audio_playback_bg.py", line 3, in
import pyaudio
ModuleNotFoundError: No module named 'pyaudio'.

I tried to perform pip install pyaudio, still the error is not getting resolved.
Kindly help me in solving this doubt. Awaiting your response.

@Gurutva
Copy link

Gurutva commented Apr 13, 2022

Install a suitable version of pyaudio from this link - Click here

How to check suitable version of pyaudio ?

for eg: for PyAudio‑0.2.11‑cp39‑cp39‑win32.whl ,
cp39 means for python 3.9 and win32 means 32 bit python version for windows system

for eg: for PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl ,
cp38 means for python 3.8 and win_amd64 means 64 bit python version for windows system and amd processors.

please note by 32 bit/64 bit, i mean by python version and not windows bits

How to install pyuadio ?

Download suitable version of pyaudio from above link.

Place it in project folder.

Go to python terminal and enter this command. (let say u downloaded PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl for ur system)
"pip intsall PyAudio‑0.2.11‑cp38‑cp38‑win_amd64.whl"
and press enter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants