Google Sentiment Analysis - Importerror: Cannot Import Name Language
I've had a python app running in google app engine for over a year. I'm attempting to use the sentiment analysis. from google.cloud import language I get this error: from goog
Solution 1:
Dan was correct. I needed to vendor in the google-cloud-language my app. I used the link that Dan posted: https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27#installing_a_third-party_library
Ultimately I did this from my project directory:
pip install -t lib/ --upgrade google-api-python-client
pip install -t lib/ --upgrade google-cloud
Post a Comment for "Google Sentiment Analysis - Importerror: Cannot Import Name Language"