from Django.contrib.gis.geos导入GEOSException,GEOSGeometry,fromstr ImportError:无法导入名称GEOSException

2024-04-26 17:51:32 发布

您现在位置:Python中文网/ 问答频道 /正文

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

当我使用python manage.py runserver命令运行我的项目时, 我搞错了”

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

如何安装GEOS?


Tags: 项目djangofrompyimport命令应用程序manage