0

I'm having an issue with python and my AIY voice kit on a Raspberry Pi 3B+.

I can get the AIY voice kit to work, recognise trigger words and all. I can also get google's TextToSpeech API working no problem with text or ssml.

However I can't get both of them to work in the same programme. AIY uses python3 and TextToSpeech doesn't, so whether I run the command with "python" or "python3" I get a "Cannot import name ...."

Running it with python3 sends a "cannot import name texttospeech" and with python, it sends a "cannot import name aiy"

Any Ideas on how can I get round this?

Thanks everyone

Pang
  • 9,564
  • 146
  • 81
  • 122
RHarris
  • 23
  • 6

0 Answers0