Google App Engine cannot find gdata module

后端 未结 3 1305
余生分开走
余生分开走 2021-01-13 14:53

I can run a simple \"Hello World\" Google App Engine application on localhost with no problems. However, when I add the line \"import gdata.auth\" to my Python script I get

3条回答
  •  渐次进展
    2021-01-13 15:25

    The gdata client library installation script installs the modules in the wrong directory for ubuntu python installation.

    sudo mv /usr/local/lib/python2.6/dist-packages/* /usr/lib/python2.6/dist-packages
    

提交回复
热议问题