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

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

Open
mda-shoeb opened this issue Jan 26, 2014 · 3 comments

Comments

@mda-shoeb
Copy link

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

@rcbevans
Copy link

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

@mda-shoeb
Copy link
Author

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

@jeysonm82
Copy link
Owner

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

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

3 participants