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