0

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?

1 Answers1

1

The module doesn't come with the database. You have to download it separately (and keep it updated). The documentation lists some supported databases.

Quentin
  • 914,110
  • 126
  • 1,211
  • 1,335