I've tried to install libraries from requirements.txt, but there is a problem with mediapipe.
As I discovered, mediapipe doesn't seem to be supported on ARM. Instead I had to install mediapipe-silicon by changing "mediapipe" to "mediapipe-silicon" in requirements.txt.
After that I was trying to run game.py but it always exits with AttributeError: 'NoneType' object has no attribute 'landmark' despite the fact that I'm moving my hands in front of the camera. My camera works fine.
M1 Pro MacBook
I've tried to install libraries from
requirements.txt, but there is a problem with mediapipe.As I discovered, mediapipe doesn't seem to be supported on ARM. Instead I had to install mediapipe-silicon by changing "mediapipe" to "mediapipe-silicon" in
requirements.txt.After that I was trying to run
game.pybut it always exits withAttributeError: 'NoneType' object has no attribute 'landmark'despite the fact that I'm moving my hands in front of the camera. My camera works fine.M1 Pro MacBook