I am converting Python 2 to 3. When converting, I receive this error:
AssertionError: No API proxy found for service "memcache"
This exception occurs when creating the following class.
from google.appengine.ext import ndb
from api import fields
import config
import model
import util
class Config(model.Base, model.ConfigAuth):
from google.appengine.ext import ndb
class Base(ndb.Model):
Can I use google.appengine.ext in Python 3, like in Python 2? What is the API proxy?
Yes, Google App Engine Bundled Services/API is supported for Python 3.
Take a look at the instructions here.
Note: You'll have to run your App with
dev_appserver.pyelse you'll get errors that look like