从django.contrib.gis.geos导入GEOSException、GEOSGeometry和fromstr时出现ImportError: 无法导入名为GEOSException的模块。

12
我正在使用django-oscar项目创建自定义电子商务应用程序。

当我使用python manage.py runserver命令运行我的项目时,我收到了这个错误消息"

from django.contrib.gis.geos import GEOSException, GEOSGeometry, fromstr
    ImportError: cannot import name GEOSException"

如何安装GEOS?

1个回答

3

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接