ModuleNotFoundError: No module named 'pyttsx3' || "Running setup.py install for comtypes ... error" error when installing pyttsx3

0 votes
PS C:\Users\DELL> pip install pyttsx3

Collecting pyttsx3

  Using cached pyttsx3-2.90-py3-none-any.whl (39 kB)

Collecting comtypes; platform_system == "Windows"

  Using cached comtypes-1.1.7.zip (180 kB)

Requirement already satisfied: pywin32; platform_system == "Windows" in c:\users\dell\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (from pyttsx3) (228)

Requirement already satisfied: pypiwin32; platform_system == "Windows" in c:\users\dell\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (from pyttsx3) (223)

Using legacy 'setup.py install' for comtypes, since package 'wheel' is not installed.

Installing collected packages: comtypes, pyttsx3

    Running setup.py install for comtypes ... error

    ERROR: Command errored out with exit status 1:
Oct 7 in Python by anonymous
• 140 points

edited Oct 7 by Gitika 135 views

1 answer to this question.

0 votes

Hello, @There

It depends on which version of Python your Pycharm is set and on which version of Python you installed the module. Go to File -> Settings -> Project:.. -> Project Interpreter and check which version of Python you run on the project. Then go to the CMD/ terminal and write pip -V and it will tell you the pip version and the Python one. Might be a different version.

Regarding your issue can check this out  https://www.edureka.co/community/67463/modulenotfounderror-no-module-named-pyttsx3 

I hope this will be helpful!!!

answered Oct 7 by Gitika
• 50,660 points

Related Questions In Python

0 votes
1 answer

Error when running pip install: python setup.py egg_info"

ERROR: Command errored out with exit status ...READ MORE

answered Oct 28 in Python by anonymous
618 views
+1 vote
3 answers
0 votes
1 answer
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 1,564 views
0 votes
0 answers
0 votes
1 answer

How to Install pip for python 3.7 on Ubuntu 18?

The command you're looking for is: python3.7 -m ...READ MORE

answered 6 days ago in Python by Gitika
• 50,660 points
19 views
0 votes
2 answers

ModuleNotFoundError: No module named 'pythoncom' in pyttsx3

even i faced the same problem ...just ...READ MORE

answered Jun 2 in Python by anonymous
5,165 views
0 votes
1 answer

Python Error: ModuleNotFoundError: No module named '<moduleName>'

Python3 and pip are most likely pointing ...READ MORE

answered 5 days ago in Python by Gitika
• 50,660 points
66 views