--- a/setup_posix.py
+++ b/setup_posix.py
@@ -20,7 +20,7 @@
         if ret/256:
             data = []
         if ret/256 > 1:
-            raise EnvironmentError, "%s not found" % mysql_config.path
+            raise EnvironmentError("%s not found" % (mysql_config.path,))
     return data
 mysql_config.path = "mysql_config"