3b1b / manim

Animation engine for explanatory math videos
MIT License
70.78k stars 6.23k forks source link

/opt/X11/lib/pkgconfig freetype2.pc fontconfig.pc #2151

Open juanfal opened 3 months ago

juanfal commented 3 months ago

Describe the bug

It was impossible for me to install Manim. Using Apple MacBook Air M3. Following every step (brew and pip3 installations) always got me to the same absurd error with fontconfig version. Mine was quite more higher but the installer said it was lower than needed

Code: I run

cd /opt/X11/lib/pkgconfig
mv freetype2.pc -freetype2.pc 
mv fontconfig.pc -fontconfig.pc

pip3 install manim

and it worked!

theroshanantony commented 1 month ago

main issue might not always be with the dependencies like fontconfig, but with how pip or pip3 is configured on your system. This can lead to confusion about which version of Python is being used during the installation, especially when multiple versions of Python are installed on your Mac.