ImportError: cannot import name 'LineString' from 'shapely' (~/site-packages/shapely/__init__.py)
singledoggy opened this issue · 1 comments
singledoggy commented
conda list version
xesmf 0.8 pyhd8ed1ab_0 conda-forge
shapely 1.8.5 py310h5e49deb_1 conda-forge
error
ImportError: cannot import name 'LineString' from 'shapely' (~/site-packages/shapely/__init__.py)
quick fix:
change in __init__.py)
# from shapely import LineString
from shapely.geometry import LineString