diff --git a/setup.py b/setup.py
index aa706cb6a8cf44abb8857859c7029e327cd89771..5bef02d65eaeddd2fbcd45ef008a2743708edce8 100755
--- a/setup.py
+++ b/setup.py
@@ -8,6 +8,8 @@
 # the file AUTHORS.rst at the top-level directory of this distribution and at
 # http://kwant-project.org/authors.
 
+from __future__ import print_function
+
 import sys