diff --git a/bob/bio/base/script/preprocess.py b/bob/bio/base/script/preprocess.py
index ccc837046d97e089f5ce97dfc6fffb446e794a4f..7aef29865845886391dd35bf98c1a81e71bda0f8 100644
--- a/bob/bio/base/script/preprocess.py
+++ b/bob/bio/base/script/preprocess.py
@@ -12,7 +12,10 @@ import numpy
 
 import bob.core
 import bob.io.base
-import bob.io.image
+try:
+  import bob.io.image
+except ImportError:
+  pass
 
 
 def command_line_arguments(command_line_parameters):
diff --git a/test-requirements.txt b/test-requirements.txt
index 89e63d6ac71191c42c61748db750825d0f213b62..ae003ee3abf99175ba54c5e409e71f615c6b93be 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -2,3 +2,4 @@ bob.db.atnt
 bob.io.image
 matplotlib
 gridtk
+nose