Search code examples
djangopython-3.xgoogle-app-engineapp-engine-ndb

How to install google cloud sdk on python 3.5.2


I am following the guide to install google cloud sdk. But when I use the statement

from google.appengine.ext import ndb

I get an error no module named google.apengine.ext. I think it is due to my google cloud sdk not being installed in Python 3.5. So my question is that how to install that package in Python 3.5. Is there a possibility to install it in virtual env?


Solution

  • The ndb client library is only supported in the standard environment for Python 2.7 applications. From Using the ndb client library:

    The ndb client library is not compatible with the Python 3.7 runtime. For more information, see differences between the Python 2.7 and Python 3.7 runtimes on the App Engine standard environment.