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


Groups > comp.lang.python > #98898

Re: import module pyttsx in windows IDLE failed

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From MRAB <python@mrabarnett.plus.com>
Newsgroups comp.lang.python
Subject Re: import module pyttsx in windows IDLE failed
Date Mon, 16 Nov 2015 18:12:51 +0000
Lines 50
Message-ID <mailman.370.1447697576.16136.python-list@python.org> (permalink)
References <mailman.369.1447694899.16136.python-list@python.org> <xCo2y.42201$PO1.14489@fx08.ams1>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de YQ4HSdNlU3LKyCILFFP1BgS6QMAWKUr9ZMy6TAtoX0/A==
Return-Path <python@mrabarnett.plus.com>
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; 'url:pypi': 0.03; 'subject:IDLE': 0.04; 'importerror:': 0.05; 'blue': 0.09; 'mentions': 0.09; 'orange': 0.09; 'subject:module': 0.09; 'wednesday': 0.15; 'cherry': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'pypi.': 0.16; 'received:192.168.1.4': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:failed': 0.16; 'subject:import': 0.16; 'subject:windows': 0.16; 'wrote:': 0.16; 'later': 0.16; 'version.': 0.18; 'windows': 0.20; 'skip:" 30': 0.20; 'wrote': 0.23; 'import': 0.24; '(most': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'install': 0.25; 'header:User-Agent:1': 0.26; 'installed': 0.26; 'not.': 0.27; 'print': 0.30; 'received:84': 0.32; 'run': 0.33; 'url:python': 0.33; 'idle': 0.33; 'traceback': 0.33; 'file': 0.34; 'problem.': 0.35; 'url:org': 0.36; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'there,': 0.37; 'thanks': 0.37; 'no,': 0.38; 'green': 0.38; 'skip:- 60': 0.39; 'received:192': 0.39; 'skip:e 20': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'engine': 0.62; 'voice': 0.63; 'here:': 0.63; 'thursday': 0.66; 'reply': 0.68; "how's": 0.72; 'voices': 0.84; 'yellow': 0.84; 'homepage': 0.91
X-CM-Score 0.00
X-CNFS-Analysis v=2.1 cv=MbeRwMLf c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=EBOSESyhAAAA:8 a=IkcTkHD0fZMA:10 a=8AHkEIZyAAAA:8 a=_IcLmlCZuYdNoLdCK5AA:9 a=QEXdDO2ut3YA:10
X-AUTH mrabarnett@:2500
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
In-Reply-To <xCo2y.42201$PO1.14489@fx08.ams1>
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:98898

Show key headers only | View raw


On 2015-11-16 17:45, input/ldompeling@casema.nl wrote:
> In reply to "MRAB" who wrote the following:
> Have you installed pyttsx?
>
> No, I did not.
> Where can I find pyttsx to install ?
>
The first place to look is PyPI. It's here:

https://pypi.python.org/pypi/pyttsx

You might want to look at the links for the homepage and documentation.
That mentions a later version.

> Thanks
> ---------------------------------------------------------------------
>> On 2015-11-16 17:12, input/ldompeling@casema.nl wrote:
>> > When I try to run this module in Windows IDLE I get this message:
>> > How can I solve this problem.
>> >
>> > Thanks
>> >
>> > Traceback (most recent call last):
>> >    File "C:\raspberrypi\recipe-578839-1.py", line 1, in <module>
>> >      import pyttsx
>> > ImportError: No module named 'pyttsx'
>> >
>> > This is what I found on the internet:
>> > -------------------------------------------------------------------
>> > import pyttsx
>> > engine = pyttsx.init()
>> > engine.setProperty('rate', 70)
>> >
>> > voices = engine.getProperty('voices')
>> > for voice in voices:
>> >      print ("Using voice:"), repr(voice)
>> >      engine.setProperty('voice', voice.id)
>> >      engine.say("Hi there, how's you ?")
>> >      engine.say("A B C D E F G H I J K L M")
>> >      engine.say("N O P Q R S T U V W X Y Z")
>> >      engine.say("0 1 2 3 4 5 6 7 8 9")
>> >      engine.say("Sunday Monday Tuesday Wednesday Thursday Friday Saturday")
>> >      engine.say("Violet Indigo Blue Green Yellow Orange Red")
>> >      engine.say("Apple Banana Cherry Date Guava")
>> > engine.runAndWait()
>> >
>> >
>> Have you installed pyttsx?
>

Back to comp.lang.python | Previous | NextPrevious in thread | Next 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