Open pa4080 opened 2 years ago
I made a similar change but:
nets = [IPNetwork(unicode(row['network']))]
Disclaimer: I'm not a python dev, so this isn't guaranteed to be a foolproof solution.
Thanks, this fixed the issue I was having on CentOS 7
fyi: ran into this on python 2.7, goes away on python3.
I'm on fresh Ubuntu Server 20.04. The
python-ipaddress
is installed by the command:But
geolite2legacy.py
returns the following error:In order to solve this error I've made the following change:
Does this a correct way to solve that issue?