저는 python을 배우고 있습니다. 이제는 사용자가 음성 형식으로 출력 할 응용 프로그램을 배포하려고합니다. pyttsx라는 라이브러리가 있습니다. 그래서 내가 패키지가 너무 다른 폴더와 파일을 여기Python에서 pyttsx 라이브러리를 포함하는 방법
와 같은
의 트리 구조가 왔었다
Traceback (most recent call last):
File "C:\Python27\bot.py", line 10, in <module>
engine = pyttsx.init()
File "C:\Python27\lib\pyttsx\__init__.py", line 39, in init
eng = Engine(driverName, debug)
File "C:\Python27\lib\pyttsx\engine.py", line 45, in __init__
self.proxy = driver.DriverProxy(weakref.proxy(self), driverName, debug)
File "C:\Python27\lib\pyttsx\driver.py", line 64, in __init__
self._module = __import__(name, globals(), locals(), [driverName])
File "C:\Python27\lib\pyttsx\drivers\sapi5.py", line 19, in <module>
import win32com.client
ImportError: No module named win32com.client
로서의 나에게주는 오류 folder.But lib에 폴더 pyttsx를 복사 ├─ ──docs
├───pyttsx
└───drivers
└───pyttsx.egg-info
나는 파이썬에 새로운 누군가가 라이브러리를 포함하는 방법을 말해 줄 수있다. 나는 윈도우 7 홈 premium.and 설치 디렉토리를 사용하고있다. c.