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

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Newsgroups comp.lang.python
Subject Re: import module pyttsx in windows IDLE failed
Date Mon, 16 Nov 2015 20:02:08 -0500
Organization IISS Elusive Unicorn
Lines 29
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>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de 2MlBMUc4hOfqbKlsLurc3ASrSpb4hF1zXCW/bpzIe18Q==
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:IDLE': 0.04; 'error:': 0.05; 'implies': 0.09; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'specific.': 0.09; 'subject:module': 0.09; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'subject:failed': 0.16; 'subject:import': 0.16; 'subject:windows': 0.16; 'url:home': 0.18; 'windows': 0.20; '2015': 0.20; 'skip:" 30': 0.20; 'not,': 0.22; 'install,': 0.22; 'import': 0.24; '(most': 0.24; 'mon,': 0.24; 'module': 0.25; 'install': 0.25; 'header:X-Complaints-To:1': 0.26; 'wonder': 0.27; '(maybe': 0.29; 'path,': 0.29; 'windows.': 0.33; 'file': 0.34; 'running': 0.34; 'attempt': 0.35; 'nov': 0.35; 'skip:> 10': 0.35; 'url:org': 0.36; 'modules': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'charset:us-ascii': 0.37; 'url:en': 0.39; 'to:addr:python.org': 0.40; 'engine': 0.62; 'url:readthedocs': 0.84; 'dennis': 0.91; 'url:latest': 0.91; 'received:108': 0.93
X-Injected-Via-Gmane http://gmane.org/
X-Gmane-NNTP-Posting-Host adsl-108-79-217-215.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:98904

Show key headers only | 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