【发布时间】:2017-09-07 14:28:41
【问题描述】:
我是 Django 新手,我想安装传单来显示地图。我遵循了installation instructions,虽然 pip 命令似乎运行良好,但当我转到 settings.py 将传单添加到我已安装的应用程序时,当我保存文件时出现此错误:
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x000002494D622730>
在回溯的最后是这样的:
django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal201", "gdal20", "gdal111", "gdal110", "gdal19"). Is GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.
在 settings.py 的已安装应用程序部分,我尝试添加“leaflet”或“django-leaflet”。我错过了什么?
【问题讨论】:
-
发布完整的回溯