python-google-speech-scripts icon indicating copy to clipboard operation
python-google-speech-scripts copied to clipboard

How to run this script in windows 7 and what additional softwares required

Open mda-shoeb opened this issue 11 years ago • 3 comments

unable to use in Windows 7 and showing the following error

Traceback (most recent call last): File "C:\python-google-speech-scripts-master\stt_google.py", line 1, in ? import pyaudio ImportError: No module named pyaudio

mda-shoeb avatar Jan 26 '14 16:01 mda-shoeb

On Windows you need to install the portaudio bindings first http://people.csail.mit.edu/hubert/pyaudio/

rcbevans avatar Jan 26 '14 19:01 rcbevans

Thanks but presenting this error Traceback (most recent call last): File "C:\projects\python-google-speech-scripts-master\stt_google.py", line 101, in listen_for_speech() File "C:\projects\python-google-speech-scripts-master\stt_google.py", line 43, in listen_for_speech data = stream.read(chunk) File "C:\Python27\lib\site-packages\pyaudio.py", line 605, in read return pa.read_stream(self._stream, num_frames) KeyboardInterrupt

mda-shoeb avatar Jan 27 '14 14:01 mda-shoeb

Post the full Traceback. I can't tell what error you're getting.

jeysonm82 avatar Feb 25 '15 02:02 jeysonm82