diff --git a/pystencils/cache.py b/pystencils/cache.py
index 5df15ae7c7498e6e849c93f2f071435560a2c415..41810a583f479232670300022af40751663e0769 100644
--- a/pystencils/cache.py
+++ b/pystencils/cache.py
@@ -1,5 +1,5 @@
 import os
-from collections import Hashable
+from collections.abc import Hashable
 from functools import partial
 from itertools import chain