We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ada821 commit 7bcb9b3Copy full SHA for 7bcb9b3
pyogrio/__init__.py
@@ -4,7 +4,9 @@
4
# we try importing shapely, to ensure it is imported (and it can load its
5
# own GEOS copy) before we load GDAL and its linked GEOS
6
import shapely
7
- import shapely.geos # noqa: F401
+
8
+ if shapely.__version__ < "2.0.0":
9
+ import shapely.geos
10
except Exception:
11
pass
12
0 commit comments