diff --git a/dist/setup/index.js b/dist/setup/index.js
index baa759dc..c51a5f77 100644
--- a/dist/setup/index.js
+++ b/dist/setup/index.js
@@ -6112,9 +6112,6 @@ function run() {
                     yield cacheDependencies(cache, pythonVersion);
                 }
             }
-            else {
-                throw new Error("there's empty python-version input");
-            }
             const matchersPath = path.join(__dirname, '../..', '.github');
             core.info(`##[add-matcher]${path.join(matchersPath, 'python.json')}`);
         }