I've been making simple "voice assistant". I imported pyttx3 using pip install pyttx3
(and yes i added import pyttsx3
in the code), which successfully installed due to terminal outprint Successfully installed pyttsx3-2.90
but then when i try to run the code i get File "c:\Users\teeki\voiceassistant\va.py", line 1, in <module> import pyttsx3 ImportError: No module named pyttsx3
I already tried to lookup the problem, found some solutions, which didnt do anything for me. Some of things i tried:
- reinstalling pyttsx3 with
pip uninstall pyttsx3
then installing it again - Installing it with
pipenv
- Changing python interpeter back and forth to
2.7
,3.8
,3.9
EDIT:im using visual studio code