diff --git a/pystencils/gpucuda/cudajit.py b/pystencils/gpucuda/cudajit.py
index a77767dce83492aebe5e1130f351f4f06d06be33..86f251c97b95f04c52aaa803398ddb78ba42a2c1 100644
--- a/pystencils/gpucuda/cudajit.py
+++ b/pystencils/gpucuda/cudajit.py
@@ -58,8 +58,9 @@ def make_python_function(kernel_function_node, argument_dict=None, custom_backen
     from os.path import join, dirname, isdir
 
     if any(t.interpolation_mode == InterpolationMode.CUBIC_SPLINE for t in textures):
-        assert isdir(join(dirname(__file__), "CubicInterpolationCUDA", "code")), \
-            "Submodule CubicInterpolationCUDA does not exist"
+        assert isdir(join(dirname(__file__), ("CubicInterpolationCUDA", "code")),
+                     "Submodule CubicInterpolationCUDA does not exist.\n"
+                     + "Clone https://github.com/theHamsta/CubicInterpolationCUDA into pystencils.gpucuda")
         nvcc_options += ["-I" + join(dirname(__file__), "CubicInterpolationCUDA", "code")]
         nvcc_options += ["-I" + join(dirname(__file__), "CubicInterpolationCUDA", "code", "internal")]