我是新來的Python和我安裝了speech
庫。但每當我從Python中導入speech
殼它給錯誤語音庫安裝錯誤
>>> import speech
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import speech
File "C:\Python34\lib\site-packages\speech-0.5.2-py3.4.egg\speech.py", line 55, in <module>
from win32com.client import constants as _constants
File "C:\Python34\lib\site-packages\win32com\__init__.py", line 5, in <module>
import win32api, sys, os
ImportError: DLL load failed: The specified module could not be found.
您是否嘗試過卸載並重新安裝? – Mansueli
似乎'語音'模塊對'win32api'有一個未聲明的依賴關係。所以下載和安裝[pywin32](http://sourceforge.net/projects/pywin32/)可能會有所幫助。 –