Cvlib: I am not understanding the error (object detection)

but the video where i got the code used same code and it worked for them ,the difference is they were on a mac while i am on a windows device . also can you tell me the fix