-1

I tried various methods to solve this error. even downloaded the .whl file and then tried to run the command but every time it's the same error Any help from anyone would be really helpful Have a Look !!

cmd error while using the pip command

phd
  • 82,685
  • 13
  • 120
  • 165
  • Looks like your `pip` thinks you're running macOS. Maybe `pyobjc` doesn't support Windows? – ForceBru Mar 19 '20 at 12:30
  • @ForceBru `pyobjc` is indeed MacOS-specific, the problem here is that `pyttsx3` specifies the dependencies wrong, so the wheel pulls `pyobjc-security` on every platform. – hoefling Mar 19 '20 at 12:50
  • https://stackoverflow.com/a/59909885/7976758 – phd Mar 19 '20 at 18:08
  • http://idownvotedbecau.se/imageofanexception/ Text, please! Images aren't helpful, they're hard to read and hard to search. – phd Mar 19 '20 at 18:09

1 Answers1

1

The published wheel is broken and will be only installable on MacOS. Install from Git repository instead until the issue is fixed:

$ pip install git+https://github.com/nateshmbhat/pyttsx3@v2.84
hoefling
  • 59,418
  • 12
  • 147
  • 194