I am trying to install the pyttsx3 library, but i keep getting this error. error shown when trying to install
I'm confused though because when I run "python --version" it does say im on version 2.7. But when i run "python3 --version" it says that im on 3.12. How would I stop my machine from trying to use the 2.7 version instead of the 3.12.
Also, I am using a Macbook on Monterrey.
I've tried installing it with pip3 instead of pip but that doesn't work either. I've also tried to update it but it doesn't seem to actually update it. I've also tried to delete it but that doesnt work either.
python3 -m pipinstead ofpip. Thepipcommand on your system defaults to thepython2version.