Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makemigrations Failing - Could not find GDAL. #98

Closed
scottfriesen opened this issue Sep 21, 2018 · 1 comment
Closed

Makemigrations Failing - Could not find GDAL. #98

scottfriesen opened this issue Sep 21, 2018 · 1 comment

Comments

@scottfriesen
Copy link

Running on Windows, attempt to make migrations and fails with error:

django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal202", "gdal201", "gdal20", "gdal111", "gdal110", "gdal19"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.

My import is from djgeojson.fields import LineStringField

From my understanding, GDAL is not required for this. Quote from documentation:

They are useful to avoid usual GIS stacks (GEOS, GDAL, PostGIS…) for very simple use-cases (no spatial operation yet).

Pip Freeze output:
Babel==2.6.0 Django==2.1 django-auth-ldap3-ad==1.6.27 django-geojson==2.11.0 django-leaflet==0.24.0 django-phonenumber-field==2.0.0 jsonfield==2.0.2 ldap3==2.5.1 phonenumberslite==8.9.10 pyasn1==0.4.4 pytz==2018.5 six==1.11.0

@scottfriesen
Copy link
Author

It appears that this was fixed in PR #100.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant