Open CV Install failed on raspberry pi 4


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 :

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.


When I try run this command I got this :