Category Archives: Python

ModuleNotFoundError: No module named ‘pyttsx3’

ModuleNotFoundError: No module named 'pyttsx3'

Error: While executing the Python program from one server to another server I got the following error:

runfile('C:/Users/SYSTEM001/.spyder-py3/untitled6.py', wdir='C:/Users/SYSTEM001/.spyder-py3')
Traceback (most recent call last):

  File "C:\Users\SYSTEM001\.spyder-py3\untitled6.py", line 3, in <module>
    import pyttsx3

ModuleNotFoundError: No module named 'pyttsx3'

Cause: PIP package is missing pyttsx3

Solution: Install the PIP package on an existing server.

pip install pyttsx3

pip install pyttsx3
Collecting pyttsx3
  Downloading pyttsx3-2.90-py3-none-any.whl (39 kB)
Requirement already satisfied: pywin32 in c:\users\SYSTEM001\anaconda3\lib\site-packages (from pyttsx3) (227)
Requirement already satisfied: comtypes in c:\users\SYSTEM001\anaconda3\lib\site-packages (from pyttsx3) (1.1.9)
Collecting pypiwin32
  Downloading pypiwin32-223-py3-none-any.whl (1.7 kB)
Installing collected packages: pypiwin32, pyttsx3
Successfully installed pypiwin32-223 pyttsx3-2.90
Note: you may need to restart the kernel to use updated packages.