diff --git a/hpvm/scripts/hpvm_installer.py b/hpvm/scripts/hpvm_installer.py
index 142b27c656588fd7f5e4289a52bdd0957779e47f..ae06ca12f6914f748da061d5ed64a1106c5123aa 100755
--- a/hpvm/scripts/hpvm_installer.py
+++ b/hpvm/scripts/hpvm_installer.py
@@ -356,8 +356,9 @@ def main():
 
     # Don't parse args if no args given -- use prompt mode
     args = prompt_args() if len(argv) == 1 else parse_args()
+    if not args.no_pypkg:
+        check_python_version()
     print_args(args)
-    check_python_version()
     check_download_llvm_clang()
     link_and_patch()
     if not args.no_params: