What am I doing wrong here at the install here?
from shapely import minimum_bounding_circle
ImportError Traceback (most recent call last)
----> 1 from shapely import minimum_bounding_circle
ImportError: cannot import name 'minimum_bounding_circle' from 'shapely' (...)
Shapely installed fine, and I have GEOS > v8.0.0.
$ brew info geos
==> geos: stable 3.11.1 (bottled)
...
$pip show shapely
Name: Shapely
Version: 2.0.0
...
I have the geometries, but many of the algorithms presumably exported form init.py are missing. I even checked to submodules incase the docs were wrong:
import shapely
'minimum_bounding_circle' in dir(shapely)
# False
import importlib
modules = ['affinity', 'algorithms', 'coords', 'ctypes_declarations', 'errors', 'geometry', 'geos', 'impl', 'linref', 'predicates', 'speedups', 'topology']
any(['minimum_bounding_circle' in dir(importlib.import_module("shapely."+mod_str)) for mod_str in modules])
# False
I also tried down-dating to the 1.8.x version but the result was the same. Am I missing something very basic here?
Operating system
Mac OS X 10.15.7
What am I doing wrong here at the install here?
Shapely installed fine, and I have GEOS > v8.0.0.
I have the geometries, but many of the algorithms presumably exported form init.py are missing. I even checked to submodules incase the docs were wrong:
I also tried down-dating to the 1.8.x version but the result was the same. Am I missing something very basic here?
Operating system
Mac OS X 10.15.7