I am trying to set up a python source file for a Google Cloud. I have installed a GSUtil on my MAC OS 10.6 and set up the path for files as instructed on the page adding this command (export PYTHONPATH=${PYTHONPATH}:$HOME/gsutil/boto:$HOME/gsutil) to .bash_profile under the home directory.
Then, I ran the following code:
#!/usr/bin/python
import StringIO
import os
import shutil
import tempfile
import time
from oauth2_plugin import oauth2_plugin
import boto
# URI scheme for Google Cloud Storage.
GOOGLE_STORAGE = 'gs'
# URI scheme for accessing local files.
LOCAL_FILE = 'file'
And, the compiler gave me an error saying
>>> [evaluate gs.py]
Traceback (most recent call last):
File "/Volumes/WingIDE-101-4.0.0/WingIDE.app/Contents/MacOS/src/debug/tserver/_sandbox.py", line 8, in <module>
File "/Users/lsangin/oauth2_plugin.py", line 18, in <module>
File "/Users/lsangin/google_appengine/cloudauth/oauth2client/appengine.py", line 24, in <module>
from google.appengine.ext import db
ImportError: No module named google.appengine.ext
>>> from google.appengine.ext
Can someone help me with the issue? (Sorry, I am a newbie!) Thank you in advance.