diff --git a/code/compute_hyperparameters.py b/code/compute_hyperparameters.py
index 7886bc67439c6a5fbf4df21edc78f92f444a3b48..e6068e0bdb4a1e4f93ab1f71b3f727d325dec192 100644
--- a/code/compute_hyperparameters.py
+++ b/code/compute_hyperparameters.py
@@ -24,7 +24,7 @@ I had to install skopt from this repository
 https://github.com/darenr/scikit-optimize that handles
 the issue described here https://github.com/scikit-optimize/scikit-optimize/issues/762.
 """
-from skopt.space import Categorical, Integer, Real
+from skopt.space import Categorical, Integer
 
 
 def clean_numpy_int_dict(dictionary):