Mulagala Mulagala - 1 year ago 147
Python Question

ImportError: No module named pyttsx

I have installed

package from this source

downloaded, extracted and installed as
python install

but still i am getting

ImportError: No module named pyttsx

when importing
import pyttsx

any help would be appriciated!

Answer Source

I think you are better to use pip

$ pip install pyttsx
$ pip list
pip (1.5.4)
pyttsx (1.1)
setuptools (2.2)

and everything should be fine

$ python
Python 2.7.2 (default, Jul 20 2011, 02:32:18)
[GCC 4.2.1 (LLVM, Emscripten 1.5, Empythoned)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyttsx
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download