Traceback (most recent call last):


 "<string>", line 1, in <module>
AttributeError: 'list' object has no attribute 'applyfunc'

Traceback (most recent call last):


 "./cloudspeech_demo.py", line 22, in <module>

from aiy.cloudspeech import CloudSpeechClient


 "/home/pi/AIY-projects-python/src/aiy/cloudspeech.py", line 40, in <module>

END_OF_SINGLE_UTTERANCE = speech.types.StreamingRecognizeResponse.END_OF_SINGLE_UTTERANCE
AttributeError: module 'google.cloud.speech' has no attribute 'types'
