Fix head.
diff --git a/python_configure.bzl b/python_configure.bzl
index 76e0268..2107022 100644
--- a/python_configure.bzl
+++ b/python_configure.bzl
@@ -262,6 +262,7 @@
 
 def _get_python_include(repository_ctx, python_bin):
     """Gets the python include path."""
+    version = _get_python_version(repository_ctx, python_bin)
     result = _execute(
         repository_ctx,
         [