I'm working on migrating a Python 2.7/1st Gen/GAE app to Python 3/2nd Gen/GAE.
My current step is replacing google.appengine.ext.deferred
with the Python Client for Cloud Tasks API.
Here is where I'm at:
- Still using Python 2.7
- Latest updates with
gcloud components update
- Following the Python Client docs, I added
google-cloud-tasks==1.5.0
to myrequirements.txt
google-cloud-tasks
needsgrpcio
so I added- name: grpcio\n version: latest
toapp.yaml
- Now
dev_appserver.py
is giving me the errorImportError: No module named enum
I'm not finding much documentation online so I'm wondering... Is it possible to use google-cloud-tasks
with Python 2.7 on app engine?
If so, how do I fix the last error above?