尝试使用 geodjango 安装 gis 应用程序时出现安装错误?
django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "geodatabase". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
这是我按照本教程 http://invisibleroads.com/tutorials/ 操作时遇到的错误geodjango-googlemaps-build.html
django.core.exceptions.ImproperlyConfigured: Cannot determine PostGIS version for database "geodatabase". GeoDjango requires at least PostGIS version 1.3. Was the database created from a spatial database template?
This is the error I got when I followed this tutorial http://invisibleroads.com/tutorials/geodjango-googlemaps-build.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我没有正确使用 POSTGIS 模板创建数据库时,我收到此错误(与错误提示完全相同)。那么你是否正确使用空间数据库模板安装PostGIS 您是否使用 -T template_postgis 创建了数据库?
I got this error when I didn't properly use the POSTGIS template to create my database (exactly like the error suggests). So did you properly install PostGIS with the spatial database template and did you create your db with -T template_postgis ?