--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -673,6 +673,7 @@
     if (onnxruntime_REQUIRE_PYTHON_EMBED_LIB)
       find_package(Python 3.10 COMPONENTS Interpreter Development NumPy)
     else()
+      find_package(Python 3.10 COMPONENTS Development)
       find_package(Python 3.10 COMPONENTS Interpreter Development.Module NumPy)
     endif()
     message("Numpy version: ${Python_NumPy_VERSION}")
