diff --git a/api/python/arrus/utils/imaging.py b/api/python/arrus/utils/imaging.py index 33a006ac5..4ecb98aad 100644 --- a/api/python/arrus/utils/imaging.py +++ b/api/python/arrus/utils/imaging.py @@ -15,6 +15,11 @@ from collections import deque from collections.abc import Iterable +import cupy +if cupy.__version__ < "9.0.0": + raise Exception(f"The version of cupy module is too low. " + f"Try install the version ''9.0.0'' or higher.") + def get_extent(x_grid, z_grid): """