I want to use the Google Calendar API for my Google App Engine webapp. I followed the instructions here (https://developers.google.com/google-apps/calendar/instantiate) for configuring the app, which required that I import gflags. I downloaded gflags here (https://code.google.com/p/python-gflags/downloads/list) and unzipped it into the same directory as main.py of my webapp. I then set up gflags by running "Python setup.py install" in command line. The set up was successful, and the following was displayed:
Installed c:\python27\lib\site-packages\python_gflags-2.0-py2.7.egg
Processing dependencies for python-gflags==2.0
Finished processing dependencies for python-gflags==2.
But this line still doesn't work:
import gflags
I get the following error in the log:
NotImplementedError: The gflags library must be installed to use tools.run(). Please install gflags or preferrably switch to using tools.run_flow()
But I thought I already installed gflags? I'm also confused as to why setup.py created a Python egg in my c:\python27\lib folder, does that mean that Google App Engine won't be able to access it?