Re: Django GeoIP Module not found; can't remedy

2012-05-28 Thread Thomas Lockhart
... File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py", line 353, in __init__ self._handle = _dlopen(self._name, mode) OSError: dlopen(/usr/local/lib/libGeoIP.dylib, 6): no suitable image found. Did find: /usr/local/lib/libGeoIP.dylib: mac

Re: Django GeoIP Module not found; can't remedy

2012-05-24 Thread DF
It appeared an import statement error caused the initial problem. But once that was fixed, the following error results: ">>> from django.contrib.gis.utils.geoip import GeoIP Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/2.7/lib/py

Django GeoIP Module not found; can't remedy

2012-05-24 Thread DF
I've spent several hours attempting to resolve my problems setting up GeoIP in Django to no avail and was hoping to get some guidance on what the problem(s) might be. I'm working on an existing Django application that required some geolocation abilities, specifically getting a users IP and la

Re: Django GeoIP

2010-07-18 Thread Justin Myers
I did a little bit of experimenting with pygeoip a few months ago, and it didn't seem to be _much_ slower. I wasn't doing a huge number of requests or anything, though. Depending on your application, it's definitely worth looking into. On Jul 17, 6:49 pm, haibin wrote: > Thanks All, > > Its now c

Re: Django GeoIP

2010-07-17 Thread haibin
Thanks All, Its now clear to me. For sharing purpose, maybe I'll go for pygeoip? Since I really only need the GeoIP only. Much simpler, though could be much slower? On Jul 18, 12:20 am, Justin Myers wrote: > Yes, there are dependencies for GeoIP. They're listed in the docs for > GeoIP (http://

Re: Django GeoIP

2010-07-17 Thread Justin Myers
Yes, there are dependencies for GeoIP. They're listed in the docs for GeoIP (http://docs.djangoproject.com/en/1.2/ref/contrib/gis/geoip/), and the docs' list of GeoDjango's requirements in general (http:// docs.djangoproject.com/en/1.2/ref/contrib/gis/install/#requirements) is also useful. HTH, Ju

Re: Django GeoIP

2010-07-17 Thread Alexander Jeliuc
Yes. there are dependencies. On Sat, Jul 17, 2010 at 8:58 AM, haibin wrote: > hi, > > I am trying to use GeoIP part of GeoDjango. I importing it by from > django.contrib.gis.utils import GeoIP but getting import error. Do I > have to install someting or do the whole installation process for > Ge

Django GeoIP

2010-07-16 Thread haibin
hi, I am trying to use GeoIP part of GeoDjango. I importing it by from django.contrib.gis.utils import GeoIP but getting import error. Do I have to install someting or do the whole installation process for GeoDjango? Or what is the minimum requirements just for GeoIP Thanks, James -- You receiv