I did the following on my Ubuntu sudo pip install pygeoip
More here: https://code.google.com/p/pygeoip/wiki/Usage
On commandline, import pygeoip works
But what is the actual location of this file? I tried "find" command but no luck?
I did the following on my Ubuntu sudo pip install pygeoip
More here: https://code.google.com/p/pygeoip/wiki/Usage
On commandline, import pygeoip works
But what is the actual location of this file? I tried "find" command but no luck?
The module doesn't come with the database. You have to download it separately (and keep it updated). The documentation lists some supported databases.