Abhilash KK
Abhilash KK

Reputation: 446

Import error google.appengine.api in python flex environment

While importing appengine api in to python flex environment causing import error in local server. I have and application running on appengine which is using the flex environment instead of standard.

In my codebase the app directory contains python scripts and yaml file. When I try to run the py file which through this error.

Run command
$ python main.py

from google.appengine.api import app_identity
ImportError: No module named appengine.api

Upvotes: 1

Views: 571

Answers (1)

Abhilash KK
Abhilash KK

Reputation: 446

The App Engine flexible environment does not provide the API libraries present in the App Engine SDK.

Please check this link Migrating Services from the Standard Environment to the Flexible Environment

Upvotes: 4

Related Questions