找不到 GDAL 库

Could not find the GDAL library

我无法安装 GeoDjango。我有以下错误

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

我尝试了以下解决方案 GeoDjango could not find GDAL library in Windows 10。但这对我没有帮助,我仍然有同样的错误。

我刚好运行进入这个postHow to install and configure PostGIS Raster on Windows。我发现这个 link 对在我的系统中设置 GDAL、postgres 和 postGIS 非常有帮助。