Skip to content

Commit 5c0fec5

Browse files
committed
Improved error message
1 parent a0d58c2 commit 5c0fec5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nucleus/metrics/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@
2424
else:
2525
platform_specific_msg = "GEOS package will need to be installed see (https://trac.osgeo.org/geos/)"
2626
raise ModuleNotFoundError(
27-
f"Module 'shapely' not found. Install optionally with `scale-nucleus[metrics]`. {platform_specific_msg}"
27+
f"Module 'shapely' not found. Install optionally with `scale-nucleus[metrics]` or when developing "
28+
f"`poetry install -E metrics`. {platform_specific_msg}"
2829
) from e

0 commit comments

Comments
 (0)