Davide Visentin
Davide Visentin

Reputation: 741

ImportError: cannot import name 'speech_v1beta1'

I've installed google-cloud with pip, and that error occurs when I write

from google.cloud import speech_v1p1beta1

While it's all ok (but I cannot obviously use the beta features) when I write

from google.cloud import speech

How can I solve this problem?

Thanks

Upvotes: 0

Views: 1478

Answers (1)

VictorGGl
VictorGGl

Reputation: 1916

You need to upgrade your google-cloud-speech library by running:

pip install --upgrade google-cloud-speech

Upvotes: 3

Related Questions