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 don't know if you managed to work around this issue, but I had the same thing this morning and fixed it by downgrading the version of pyttsx3 from the latest to version 2.71.
There seems to be some missing commits with the latest version that haven't been resolved (if you read the thread this post is from)