diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -43,6 +43,7 @@ def get_tagged_version():
 			stdout	= subprocess.PIPE,
 			cwd		= os.path.dirname(__file__) or None
 		)
+		(stdoutdata, stderrdata) = proc.communicate()
 		
 		if(proc.returncode):
 			raise RuntimeError(stderrdata)
fix for python3 when creating VERSION file from setup