Not able to deploy the app and keep getting "Building wheel for opencv-python" failed

This is my requirements.txt

Building wheel for opencv_python (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [2073 lines of output]
      Not searching for unused variables given on the command line.
      CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
      -- Configuring incomplete, errors occurred!
  • Why do you use such old packages for streamlit and OpenCV?
  • Opencv version is a “yanked” version
  • I would use opencv-python-headless== instead
  • I would use tensorflow-cpu instead of tensorflow on streamlit cloud
  • I would use the latest version of streamlit