github.com/maldevel/IPGeoLocation

Download/Installation

git clone github.com/maldevel/IPGeoLocation

pip3 install -r requirements.txt —user

if pip3 is missing:

apt-get install python3-setuptools easy_install3 pip

pip3 install -r requirements.txt

###En todo caso en gitHub sale los pasos a seguir para la instalacion, muy facil

saludos