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

I got a error about the win32api in windows xp #14

Closed
hick opened this issue Aug 22, 2013 · 2 comments
Closed

I got a error about the win32api in windows xp #14

hick opened this issue Aug 22, 2013 · 2 comments

Comments

@hick
Copy link

hick commented Aug 22, 2013

Traceback (most recent call last):
File "F:\test.py", line 2, in
engine = pyttsx.init()
File "D:\Program\Python27\lib\site-packages\pyttsx__init__.py", line 39, in i
nit
eng = Engine(driverName, debug)
File "D:\Program\Python27\lib\site-packages\pyttsx\engine.py", line 45, in i
nit

self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
File "D:\Program\Python27\lib\site-packages\pyttsx\driver.py", line 64, in i
nit

self.module = import(name, globals(), locals(), [driverName])
File "D:\Program\Python27\lib\site-packages\pyttsx\drivers\sapi5.py", line 19,
in
import win32com.client
File "D:\Program\Python27\lib\site-packages\win32com__init
_.py", line 5, in

import win32api, sys, os
ImportError: DLL load failed: Can not find the specified module

I am using python 2.7.5

F:>pip list
beautifulsoup4 (4.2.1)
Django (1.5.1)
docutils (0.11)
feedparser (5.1.3)
ipython (1.0.0)
Jinja2 (2.7)
MarkupSafe (0.18)
MySQL-python (1.2.4b4)
numpy (1.7.1)
pdfrw (0.1)
PIL (1.1.7)
poster (0.8.1)
py2exe (0.6.9)
pyFirmata (0.9.5)
Pygments (1.6)
pyHook (1.5.1)
pyserial (2.6)
pyttsx (1.1)
pywin32 (218)
reportlab (2.7)
rst2pdf (0.93.dev)
Sphinx (1.2b1)
wx (1.0.0)

@hick
Copy link
Author

hick commented Aug 22, 2013

BTW, my testing code is just the sample:

import pyttsx
engine = pyttsx.init()
engine.say('Greetings!')
engine.say('How are you today?')
engine.runAndWait()

@hick
Copy link
Author

hick commented Aug 22, 2013

so sorry for this!

I just made a mistake, I installed python on Drive D:, but I reinstall the windows xp several days ago, pywin32 need to be reinstalled. After that, it goes well!

thx a lot!

@hick hick closed this as completed Aug 22, 2013
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

1 participant