1alpha
1alpha

Reputation: 203

What is google app engine sdk directory in windows?

image

I am trying to setup app engine with Pycharm. But Pycharm is unable to detect Google app engine SDK directory.

What is wrong here? Please help.

Upvotes: 20

Views: 11287

Answers (3)

cutiehulk2329
cutiehulk2329

Reputation: 344

In Linux (Ubuntu), If you had installed Google-Cloud-SDK via apt-get than default installation directory for App engine SDK is

/usr/lib/google-cloud-sdk/platform/google_appengine

Note: App Engine doesn't support if your python interpreter version is greater than 2.x (< Python 3.x).

Upvotes: 6

Ferhat S. R.
Ferhat S. R.

Reputation: 1197

If you install google cloud SDK for current user the above answers are valid, googe_appengine path is

C:\Users\<username>\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\

If you install google cloud SDK for all users the google_appengine path is

C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform

Upvotes: 6

BrettJ
BrettJ

Reputation: 6841

Looks like you installed the Cloud SDK. So I think you need to know/do two things:

  1. Prior to configuring Pycharm, you'll need to get the Python App Engine component for the Cloud SDK. For most users, you'll be prompted for this as soon as you run gcloud app deploy or start the local development server (dev_appserver.py), but you wouldn't have run those yet, so do the following:

    gcloud components install app-engine-python
    
  2. After installing the component, you will now have the Python portion of the SDK, which is installed by default at the following path:

    C:\Users\<username>\AppData\Local\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine\
    

    Or on Mac:

     /Users/<username>/google-cloud-sdk/platform/google_appengin‌​e
    

    Add this as your App Engine SDK path to PyCharm.

Upvotes: 44

Related Questions