Open CV Install failed on raspberry pi 4

Hello,

For 2 days I have been trying to install open cv on my raspberry pi 4 in order to do object Identification with a camera for a study project.

I followed this tutorial to install opencv : https://core-electronics.com.au/guides/object-identify-raspberry-pi/#Set

But when I executed this line of command :

make -j $(nproc)

the download started well but at 28% I got this error message:

Someone know why i got this error ?

Thanks (sorry for my bad english)

why are you building at all?

just pip3 install opencv-python. the package has got binaries for rpi4 for sure, as long as your system isn’t too old.

Hello,

When I try run this command I got this :

image