So I'm trying to learn App engine and the earth engine api.
I'm pretty new to this.
I am therefore trying to get some tutorial demos to work. More specifically 
the "trendy lights" demo found here 
I am on windows 7, running python 2.7.11 and I followed steps in this 

If this is not the right forum to ask in, please do wave me in the right 

What I'm doing is:
Because I'm on windows, I can't run "" so I'm building the "lib" 
folder manually, adding/installing 
   'pip install -t lib earthengine-api'
   'pip install -t lib pycrypto'
   'pip install -t lib oauth2client'

When my "Tredny Lights" app folder and files are completed I run it through 
App engine launcher. 
I have also tried via the command line argument, but I get 
the same error.
I have not changed any files that comes with the demo except for the 
application name in app.yaml and the authentication in

The error I get is: 
AttributeError: 'module' object has no attribute 
A browser window opens but it is just blank white. 

What am I missing, is it something obvious?
I don't really know where to go from here so any suggestions would be 
greatly appreciated. 

This is the full error message:
 File "C:\Program Files (x86)\Google\google_appengine\

google\appengine\runtime\", line 240, in Handle
    handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\runtime\", line 299, 
in _LoadHandler
    handler, path, err = LoadObject(self._handler)
  File "C:\Program Files 
(x86)\Google\google_appengine\google\appengine\runtime\", line 85, in 
    obj = __import__(path[0])
  File "C:\Users\Majkiboy\local-repo-trndy-lights\trendy-lights\", 
line 226, in <module>
    config.EE_ACCOUNT, config.EE_PRIVATE_KEY_FILE)

, line 60, in ServiceAccountCredentials
    return oauth2client.client.SignedJwtAssertionCredentials(
AttributeError: 'module' object has no attribute 

INFO     2016-09-20 14:50:51,029] default: "GET / HTTP/1.1" 
500 -Enter code here...

My file:

from google.appengine.ext import vendor

My app.yaml file:

application: trendy-lights
version: 1

runtime: python27
api_version: 1
threadsafe: true

- name: jinja2
  version: "2.6"
- name: webapp2
  version: "2.5.1"
- name: pycrypto
  version: "2.6"

- url: /static/
  static_dir: static
  application_readable: true
  secure: always
- url: /.*
  secure: always

- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
- Crypto


You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to