I was having some problems when using the .getproperty(\'voices\') attribute in pyttsx3. So I decided to uninstall it and then re-install it using PIP to see if that may fix the
I was facing same problem in my project but simply changing the python version from 3.8 to 3.6 works for me.