...
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
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
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
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
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://
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
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
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
8 matches
Mail list logo