Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98904

Re: import module pyttsx in windows IDLE failed

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Newsgroups comp.lang.python
Subject Re: import module pyttsx in windows IDLE failed
Date 2015-11-16 20:02 -0500
Organization IISS Elusive Unicorn
Message-ID <mailman.374.1447722211.16136.python-list@python.org> (permalink)
References <mailman.371.1447698071.16136.python-list@python.org> <mEq2y.106808$ZM.8705@fx11.ams1>

Show all headers | View raw


On Mon, 16 Nov 2015 20:03:30 GMT, input/ldompeling@casema.nl declaimed the
following:

>Now I get this error:
>
>Traceback (most recent call last):
>  File "C:\raspberrypi\recipe-578839-1.py", line 1, in <module>

	Given the "raspberrypi" in that path, I have to wonder if these modules
might not be specific to the hardware of running on an R-PI, and not on
Windows.

>    import pyttsx
>  File "C:\Users\loek\AppData\Local\Programs\Python\Python35\lib\site-packages\pyttsx\__init__.py", line 18, in <module>
>    from engine import Engine
>ImportError: No module named 'engine'

	If not, you are going to have attempt to install all the dependencies
of the packages...

	Though based upon the documentation, you may have a corrupted install,
since
http://pyttsx.readthedocs.org/en/latest/engine.html#the-engine-factory
implies Windows use (maybe you don't have SAPI5 installed? That may be OS
specific.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

import module  pyttsx in windows IDLE failed input/ldompeling@casema.nl - 2015-11-16 17:12 +0000
  Re: import module pyttsx in windows IDLE failed MRAB <python@mrabarnett.plus.com> - 2015-11-16 17:28 +0000
    Re: import module pyttsx in windows IDLE failed input/ldompeling@casema.nl - 2015-11-16 17:45 +0000
      Re: import module pyttsx in windows IDLE failed MRAB <python@mrabarnett.plus.com> - 2015-11-16 18:12 +0000
      Re: import module pyttsx in windows IDLE failed Terry Reedy <tjreedy@udel.edu> - 2015-11-16 13:20 -0500
        Re: import module pyttsx in windows IDLE failed input/ldompeling@casema.nl - 2015-11-16 20:03 +0000
          Re: import module pyttsx in windows IDLE failed Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-11-16 20:02 -0500

csiph-web