Configuring App Engine path for PyDev on Mac

后端 未结 3 1283
生来不讨喜
生来不讨喜 2020-12-19 02:25

I\'ve just installed Eclipse and the Pydev plug-in on my Mac (OS X 10.6.6) and I\'m having trouble using the Google App Engine project \'template\'. I\'m really stuck here s

相关标签:
3条回答
  • 2020-12-19 02:47

    You need to download and run the Google App Engine SDK for Python (the AppEngine SDK for Python on Mac OS X may be found at that link), and you need to run the installer program. It will install the dev_appserver binary in /usr/local/bin/. You shouldn't try running the bundled code; one of the reasons why it is necessary to run in the installer and have it install the code in /usr/local/bin/, is that the installer will also periodically update those files which it has installed; if you run them directly from within the bundle, then you risk running out-of-date versions of those files.

    0 讨论(0)
  • 2020-12-19 02:56

    I had the same problem and I was stuck for days. I simply searched for the dev_appserver.py file in the Finder and inserted that dir. Mine was just under the folder I initially pointed it toward on my Desktop and I was wasting time looking in the App folder. I hope that helps, even though its so simple to just search your whole dir sys for the file.

    I had downloaded this AppEngine SDK for Python on Mac OS X and it seemed like it was just the SDK without the dir that we need for the lib.

    Good luck,

    0 讨论(0)
  • 2020-12-19 03:06

    Put /usr/local/google_appengine as the path to ${GOOGLE_APP_ENGINE} and Eclipse will resolve that symlink to /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine.

    You should be able to see the /usr folder under Eclipse, which you normally won't see under Finder.

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