Using gcloud-python in GAE

后端 未结 2 1718
南笙
南笙 2020-12-11 08:14

I\'ve got a bunch of little Raspberry Pis running some python code which saves directly to the Datastore (skips GAE) using the gcloud-python datastore package. This works gr

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-11 08:24

    GAE on your Mac can't access Python packages installed in the default place on your Mac. You need to do this:

    ln -s /Library/Python/2.7/site-packages/.../gcloud /Users/sheridangray/Projects/city-pulse-web/gcloud
    

    (need to replace ... with the relevant path info)

提交回复
热议问题