3b1b / manim

Animation engine for explanatory math videos
MIT License
69.56k stars 6.14k forks source link

unable install on Mac M1 #2013

Open kaiwalyaharkare opened 1 year ago

kaiwalyaharkare commented 1 year ago

I am reopening this because the solution given by others did not resolve my situtation note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for manimpango Failed to build manimpango ERROR: Could not build wheels for manimpango, which is required to install pyproject.toml-based projects

kukumber commented 1 year ago

I had a setup failure with the same error message. In the text, it also said fatal error: 'cairo.h' file not found.

What helped me was installing cairo.h in the following way:

arch -arm64 brew install pkg-config cairo
eivaremir commented 1 year ago

same issue here, the arm64 command worked pretty fine

xxanswer commented 1 week ago

nice,this command worked

I had a setup failure with the same error message. In the text, it also said fatal error: 'cairo.h' file not found.

What helped me was installing cairo.h in the following way:

arch -arm64 brew install pkg-config cairo