Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98898
| From | MRAB <python@mrabarnett.plus.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: import module pyttsx in windows IDLE failed |
| Date | 2015-11-16 18:12 +0000 |
| 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> |
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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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