python – OpenCV Raspberry Pi Error Could not build wheels

I’m attempting to install OpenCV on my Raspberry Pi 3B+, and I’m encountering an issue during the installation using pip install. I consistently receive the following error message:

ERROR: Failed building wheel for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

Is there an updated method for installing OpenCV (cv2) on the Raspberry Pi, or is there a pre-installed system image available that includes OpenCV?

Thank you in advance.

Read more here: Source link