speech_recognition
speech_recognition copied to clipboard
Import Fail
Every time i try to run any of my python code that has Speech Recognition imported in it it says. get_pyaudio raise AttributeError("Could not find PyAudio; check installation") AttributeError: Could not find PyAudio; check installation
even tho i have pyaudio installed
Maybe try to reinstall it again
@programwithrey if you're still having this problem and you're in linux this solved my issue:
- Execute this:
sudo apt-get install portaudio19-dev python3-pyaudio - Now install pyaudio through pip:
pip install pyaudio - Now you should be able to use pyaudio!
This is for linux, tested in popOS (should work in ubuntu and other linux distrubtions too)
Thanks, It Works Now!!!!!!!