Hi,

I'm using Python's urllib2.urlopen to call a RESTful web service:


class MainHandler(webapp.RequestHandler):

        def get(self):

                sock = urllib2.urlopen('http://api.flickr.com/services/rest/?
api_key=...&method=flickr.photos.getRecent')


However, I'm getting this:

File "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/ext/webapp/__init__.py", line 507, in __call__
    handler.get(*groups)
  File "/Users/pedro/Dropbox/VU/IWA/iwaproject-test/main.py", line 27,
in get
    sock = urllib2.urlopen('http://api.flickr.com/services/rest/?
api_key=...&method=flickr.photos.getRecent')
...
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/ctypes/__init__.py", line 10, in <module>
    from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes


Any help?


Thank you,
Pedro



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to