With the upgrade to Google Cloud SDK 360.0.0-0 i started seeing the following error when running the dev_appserver.py
command for my Python 2.7 App Engine project.
File "/home/..................py", line 6, in <module>
from google.appengine.ext import ndb
File "/usr/lib/google-cloud-sdk/platform/google_appengine/python27/sdk/google/appengine/ext/ndb/__init__.py", line 22, in <module>
from tasklets import *
File "/usr/lib/google-cloud-sdk/platform/google_appengine/python27/sdk/google/appengine/ext/ndb/tasklets.py", line 85, in <module>
from .google_imports import apiproxy_stub_map
File "/usr/lib/google-cloud-sdk/platform/google_appengine/python27/sdk/google/appengine/ext/ndb/google_imports.py", line 44, in <module>
from google.appengine.runtime import apiproxy as callback
ImportError: cannot import name apiproxy
gcloud version
Google Cloud SDK 360.0.0
alpha 2021.10.04
app-engine-python 1.9.95
app-engine-python-extras 1.9.95
beta 2021.10.04
bq 2.0.71
cloud-build-local 0.5.2
cloud-datastore-emulator 2.1.0
core 2021.10.04
gsutil 5.3