Using Pygeoip on Appengine - no module named mmap
问题 I'm trying to do some IP-lookup on Python Google Appengine like this: import pygeoip gi = pygeoip.GeoIP('GeoIP.dat') Location = gi.country_code_by_addr(self.request.remote_addr) (pygeoip can be found here: http://code.google.com/p/pygeoip/) The above code executes fine locally but when I push it to the live server I get the following error: <type 'exceptions.ImportError'>: No module named mmap Traceback (most recent call last): File "/base/data/home/apps/tomcritchlow1/geoip.347423765058502279