Versions
In some cases if you want to use some python pure libraries, like six, available in your applications you will need to use third-party libraries.
Follow the instructions here, to add a third-party library, until the command pip install -t lib -r requirements.txt
. In your requirements.txt file just add six==1.11.0
.
It solved the problem for me.
Based on follow up with google support team have figured out that communicating with datastore
using google-cloud-datastore
is deprecated
instead using ndb
for communicating datastore is the way to go.
Updated documentation stating deprecation using client datastore library is documented here
Documentation to getting started with ndb client library in python is documented here
For me the issue was resolved by following it on https://github.com/googleapis/python-ndb/issues/249
andrewsg commented 11 days ago:
I think we've identified an issue with devappserver related to the six library specifically. Could you please try a workaround? Add the line:
import six; reload(six)
to the top of your app, before NDB is loaded and let me know if that works.