我正在尝试从shapely.geometry导入Multipoint,如下所示:
from shapely.geometry import Multipoint
state = Multipoint(((36.977397, -102.985840),(37.004892, -109.050293)(31.805382, -109.006348),(31.861385, -103.095703))).convex_hull
point.within(polygon)
但是我收到以下错误:
ImportError: cannot import name Multipoint
任何人都知道导致此错误的原因是什么?