diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 4433bb00e3cc38e30c02f73b5d187fb0991b62d9..b6ec6d2d6416bc59ea013a39b51d44a6de55d8ff 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -96,7 +96,7 @@ endif()
 
 if (NOT DISABLE_OPENFLIPPER_PYTHON_SYSTEM)
   if (NOT Python3_FOUND)
-      find_package(Python3 COMPONENTS Interpreter Development)
+      find_package(Python3  3.12 COMPONENTS Interpreter Development)
   endif()
   if (NOT TARGET pybind11::module OR NOT TARGET pybind11::embed)
       include(FetchContent)