>On May 3, 1:29 pm, Dave Lim <diband... at yahoo.com>
wrote:
Quote:
Quote:
>Hello, this is my first time in the mailing list so
>bear with me.
>>
>Basically what I did was I followed this
site:
http://surguy.net/articles/speechrecognition.xml Quote:
Quote:
>>
>So I installed microsoft speech SDK 5.1 and then
used
Quote:
Quote:
>pythonwin COM MakePy utility for it and it worked
out
Quote:
Quote:
>fine. However, I need to compile my program into a
>.exe and I have no idea how to make this work. I
tried
Quote:
Quote:
>using py2exe but I get the error:
>>
>Traceback (most recent call last):
> File "simple-speech-recognition.py", line 57, in
?
Quote:
Quote:
>TypeError: Error when calling the metaclass bases
> cannot create 'NoneType' instances
>>
>If anybody knows a good solution to this problem I
>would very much appreciate it if you can guide me
to
Quote:
Quote:
>the right path / solution.
>>
>Thank you very much!
>-Dave Lim
>>
>_________________________________________________ _
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam
protection aroundhttp://mail.yahoo.com
Quote:
>
>I've never done this, but I want to at some point, so
I went and
http://peak.telecommunity.com/DevCenter/PythonEggsThanks for the links. But I already have compiled it
successfully into an executable my only problem is i
still have that error. I still have the same error:
Traceback (most recent call last):
File "simple-speech-recognition.py", line 57, in ?
TypeError: Error when calling the metaclass bases
cannot create 'NoneType' instances
I used py2exe and I also added typelibs in the options
however that didn't seem to fix my problem. Below is
my setup.py, can anyone tell me what I'm lacking or
doing wrong here?
setup.py
from distutils.core import setup
import py2exe
setup(options = {"py2exe": {"typelibs":
[('{C866CA3A-32F7-11D2-9602-00C04F8EE628}',0,5,0)]}},
console = ["simple.py"])
Dave
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com