Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
I just figured out, Its not the case for fancy_urllib; I am not able to import
any of the modules listed in
EXTRA_PATHS = [
DIR_PATH,
os.path.join(DIR_PATH, 'lib', 'antlr3'),
os.path.join(DIR_PATH, 'lib', 'django_0_96'),
os.path.join(DIR_PATH, 'lib', 'fancy_urllib'),
os.path.join(DIR_PATH, 'lib', 'ipaddr'),
os.path.join(DIR_PATH, 'lib', 'webob'),
os.path.join(DIR_PATH, 'lib', 'yaml', 'lib'),
os.path.join(DIR_PATH, 'lib', 'simplejson'),
os.path.join(DIR_PATH, 'lib', 'graphy'),
]
And I have checked, I really have a install at /opt/google-appengine.
All this is driving me crazy.
Python 2.7.1 (r271:86832, Feb 21 2011, 01:28:26)
[GCC 4.5.2 20110127 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/home/shadyabhi/github/myapp', '/opt/google-appengine',
'/usr/lib/python27.zip', '/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
'/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/PIL',
'/usr/lib/python2.7/site-packages/gst-0.10',
'/usr/lib/python2.7/site-packages/gtk-2.0',
'/usr/lib/python2.7/site-packages/setuptools-0.6c11.egg-info',
'/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode']
>>>
Evenm here, I can see "/opt/google-appengine"
Original comment by abhijeet...@gmail.com
on 14 Apr 2011 at 8:35
[deleted comment]
[deleted comment]
I was able to import antlr3 earlier because I had that installed on my machine,
So, actually, the one packaged with gae was not getting imported.
I am trying to run this (a basic Hello World program)
https://github.com/shadyabhi/learngae
Original comment by abhijeet...@gmail.com
on 14 Apr 2011 at 9:03
Cannot reproduce.
Original comment by m...@google.com
on 20 Aug 2011 at 4:53
Original issue reported on code.google.com by
abhijeet...@gmail.com
on 13 Apr 2011 at 7:08