- Python 2.5+ or 3.3+
- GeoIP C Library 1.4.7 or greater
With pip:
$ pip install GeoIP
From source:
$ python setup.py build
$ python setup.py install
See the examples in the examples
folder.
If you get a "libGeoIP.so.1: cannot open shared object No such file or directory" error, add /usr/local/lib to /etc/ld.so.conf then run /sbin/ldconfig /etc/ld.so.conf
Copyright (c) 2014 MaxMind LLC
All rights reserved. This package is free software; it is licensed under the LGPL 2.1 or greater.