I am using the gdata module to access the Google API. I am having no
trouble whatsoever with the application on PC. However whenever I try to
run the app from my Mac, I get the error:
Cannot import module 'json'
I am importing the module through the modules directory. This is what the
code for the failed import looks like:
In gdata/gauth.py lines 56-64:
try:
import simplejson
except ImportError:
try:
# Try to import from django, should work on App Engine
from django.utils import simplejson
except ImportError:
# Should work for Python2.6 and higher.
import json as simplejson
I can suffer using my PC, but I'd prefer to develop the application on my
mac. I don't know how the differences in OS would make a difference with
importing.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.