LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   Linux+ Python + Text To Speech + pyttsx (http://www.linuxquestions.org/questions/programming-9/linux-python-text-to-speech-pyttsx-886413/)

aarsh 06-15-2011 12:11 AM

Linux+ Python + Text To Speech + pyttsx
 
I'm trying to run pyttsx in my openSUSE linux.

I've installed easy_install and also executed "python ez_setup.py"

Still I am facing errors.

For more... Please refer to the screen-shots below :
Screenshot 1

Screenshot 2

gnashley 06-15-2011 03:01 AM

Did you try 'ez_install --help' as suggested?

pgpython 06-15-2011 03:09 AM

Its not necessary to paste screen shots in this case, for simple text output using code delimiters will suffice.

Problem 1)

Code:

No Module named ez_setup
easy_install is not installed correctly. python packages are installed in site-packages. And this error is telling you its not there. Most packages usually have a setup.py file so if you run setup.py build && setup.py install as root for ez_setup. That will fix it

Problem 2)

easy_install requires an argument namely what you want to install. Eg to install mymod from pypi run easy_install mymod

aarsh 06-15-2011 04:56 AM

but one more thing...

the Python just sticks at the line... "engine = pyttsx.init()"

aarsh 06-15-2011 05:28 AM

but one more thing...

the Python just sticks at the line... "engine = pyttsx.init()"


All times are GMT -5. The time now is 02:16 PM.