ImportError: No module named moves

后端 未结 3 1712
时光说笑
时光说笑 2021-01-18 19:44

Versions

  • Python : 2.7.14
  • six : 1.9.0 & 1.11.0(tried on both)
  • OS
相关标签:
3条回答
  • 2021-01-18 20:19

    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.

    0 讨论(0)
  • 2021-01-18 20:23

    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

    0 讨论(0)
  • 2021-01-18 20:31

    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.

    0 讨论(0)
提交回复
热议问题