DR
09/12/2022, 1:51 PMCollecting numpy>=1.17.3
Downloading numpy-1.23.3.tar.gz (10.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.7/10.7 MB 51.6 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Building wheels for collected packages: opencv-contrib-python, numpy
Building wheel for opencv-contrib-python (pyproject.toml): started
Building wheel for opencv-contrib-python (pyproject.toml): still running...
Building wheel for opencv-contrib-python (pyproject.toml): still running...
Building wheel for opencv-contrib-python (pyproject.toml): still running...
Building wheel for opencv-contrib-python (pyproject.toml): still running...
Building wheel for opencv-contrib-python (pyproject.toml): still running...
Building wheel for opencv-contrib-python (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Building wheel for opencv-contrib-python (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [917 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!
See also "/tmp/pip-install-y_ady_xo/opencv-contrib-python_aacd61cbb47847d481cda42de305140b/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 10.3.1Eli Sigal
09/12/2022, 3:38 PMCMAKE_MAKE_PROGRAM is not set
https://pypi.org/project/opencv-python/
It says in the docs that you need to set it