However, it presents this error when calling the service
import geoip2.database
g = GeoIP2()
Traceback (most recent call last):
File "", line 1, in
File "/home/lauriano/lauriano88/bamburralrural/venv/lib/python3.10/site-packages/django/contrib/gis/geoip2/base.py", line 78, in init
raise GeoIP2Exception(
django.contrib.gis.geoip2.base.GeoIP2Exception: GeoIP path must be provided via parameter or the GEOIP_PATH setting.
I'm testing geoIP2 in conjunction with GeoDjango https://docs.djangoproject.com/en/5.0/ref/contrib/gis/geoip2/
I installed GeoIP2, according to the documentation https://pypi.org/project/geoip2/
However, it presents this error when calling the service