Camera OpenCV dependency install issue

I am attempting to install the dependency for the camera module OpenCV.

However, the dependencies do not install due to errors.

Any ideas on how to correct this?

The install error message is displayed below:

Device: OpenCV (opencv)


The install has been initiated for the following dependencies:

cv2
The Dependency Install Log below will refresh every 5 seconds. Wait until all dependencies have been installed to attempt to add the associated device again. You will know the entire install process have completed by "#### Dependency install finished" appearing at the end of the log.

If there's an issue with the install and you need to reset the install state, delete /opt/Mycodo/.dependency to restore dependency install functionality.

[2026-08-02 15:57:00]   │ exit code: 1
[2026-08-02 15:57:00]   ╰─> [21 lines of output]
[2026-08-02 15:57:00]       Looking in indexes: 
, 
, 

[2026-08-02 15:57:00]       Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarch64" and platform_machine != "arm64"' don't match your environment
[2026-08-02 15:57:00]       Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarch64" and platform_machine != "arm64"' don't match your environment
[2026-08-02 15:57:00]       Ignoring numpy: markers 'python_version == "3.8" and platform_machine != "aarch64" and platform_machine != "arm64"' don't match your environment
[2026-08-02 15:57:00]       Ignoring numpy: markers 'python_version <= "3.9" and sys_platform == "linux" and platform_machine == "aarch64"' don't match your environment
[2026-08-02 15:57:00]       Ignoring numpy: markers 'python_version <= "3.9" and sys_platform == "darwin" and platform_machine == "arm64"' don't match your environment
[2026-08-02 15:57:00]       Ignoring numpy: markers 'python_version == "3.9" and platform_machine != "aarch64" and platform_machine != "arm64"' don't match your environment
[2026-08-02 15:57:00]       Collecting setuptools==59.2.0
[2026-08-02 15:57:00]         Using cached setuptools-59.2.0-py3-none-any.whl.metadata (5.0 kB)
[2026-08-02 15:57:00]       Collecting wheel==0.37.0
[2026-08-02 15:57:00]         Using cached wheel-0.37.0-py2.py3-none-any.whl.metadata (2.4 kB)
[2026-08-02 15:57:00]       Collecting cmake>=3.1
[2026-08-02 15:57:00]         Using cached cmake-4.4.0-py3-none-manylinux_2_31_armv7l.whl.metadata (7.0 kB)
[2026-08-02 15:57:00]       Collecting pip
[2026-08-02 15:57:00]         Using cached pip-26.2-py3-none-any.whl.metadata (4.6 kB)
[2026-08-02 15:57:00]       Collecting scikit-build>=0.13.2
[2026-08-02 15:57:00]         Using cached scikit_build-0.19.1-py3-none-any.whl.metadata (21 kB)
[2026-08-02 15:57:00]       ERROR: Ignored the following yanked versions: 2.4.0
[2026-08-02 15:57:00]       ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 2.5.0 Requires-Python >=3.12; 2.5.0rc1 Requires-Python >=3.12; 2.5.1 Requires-Python >=3.12
[2026-08-02 15:57:00]       ERROR: Could not find a version that satisfies the requirement numpy==1.21.2 (from versions: 1.3.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.6.1, 1.6.2, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1, 1.8.2, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0.post2, 1.10.1, 1.10.2, 1.10.4, 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 1.13.3, 1.14.0, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.14.5, 1.14.6, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.16.6, 1.17.0, 1.17.1, 1.17.2, 1.17.3, 1.17.4, 1.17.5, 1.18.0, 1.18.1, 1.18.2, 1.18.3, 1.18.4, 1.18.5, 1.19.0, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.19.5, 1.20.0, 1.20.1, 1.20.2, 1.20.3, 1.21.0, 1.21.1, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.23.0, 1.23.1, 1.23.2, 1.23.3, 1.23.4, 1.23.5, 1.24.0, 1.24.1, 1.24.2, 1.24.3, 1.24.4, 1.25.0, 1.25.1, 1.25.2, 1.26.0, 1.26.1, 1.26.2, 1.26.3, 1.26.4, 2.0.0, 2.0.1, 2.0.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.4.0rc1, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6)
[2026-08-02 15:57:00]       ERROR: No matching distribution found for numpy==1.21.2
[2026-08-02 15:57:00]       [end of output]
[2026-08-02 15:57:00]
[2026-08-02 15:57:00]   note: This error originates from a subprocess, and is likely not a problem with pip.
[2026-08-02 15:57:00]
[2026-08-02 15:57:00] [notice] A new release of pip is available: 26.1.2 -> 26.2
[2026-08-02 15:57:00] [notice] To update, run: /opt/Mycodo/env/bin/python -m pip install --upgrade pip
[2026-08-02 15:57:00] ERROR: Failed to build 'opencv-python' when installing build dependencies for opencv-python

[2026-08-02 15:57:01] End install of cv2

[2026-08-02 15:57:01]
[2026-08-02 15:57:01] #### Setting permissions

[2026-08-02 15:57:02] #### Dependencies installed. Restarting frontend and backend...

[2026-08-02 15:57:18] #### Dependency install complete.