SIMPLE icon indicating copy to clipboard operation
SIMPLE copied to clipboard

M1 Mac: Building wheel for opencv-python (pyproject.toml): still running..

Open tascodes opened this issue 2 years ago • 2 comments

Hey y'all, not exactly an issue with this repository so much as it is opencv-python, but I'm just poking to see if anyone's solved this.

Running docker compose up -d in top level of the repository gets all the way through the Dockerfile then freezes permanently at "Building wheel for opencv-python (pyproject.toml): still running..". Ran it overnight just to be totally sure.

It seems other people have had issues with opencv-python on M1, but I've been researching this for weeks to no avail.

Is there any way this can be run without Docker, or some known solution to skip the opencv wheel?

tascodes avatar Jan 29 '23 18:01 tascodes

Try using a pinned version like 'opencv-python==4.5.3.56'. That worked for me.

zpyoung avatar Feb 20 '23 23:02 zpyoung

Unfortunately, I don't think this app is compatible with Mac M1 chips as it stands.

The stable-baselines1 needs tensorflow < 2.0. At the time of saying this, tensorflow v1.x is not compatible with the M1 chips, it's only 2.x that will work on the ARM64 architecture.

saulable avatar May 04 '23 11:05 saulable