Closed GrouperTamaki closed 5 years ago
Same error here.
This solved my problem:
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
export LDFLAGS="-L/usr/local/opt/libffi/lib"
Thank you ! Your suggestion solved the problem !
Here is what I did, I'm not familiar to Linux, the problem is still there, how to do next? thank you so much @mrichman
ERROR: Command "/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -u -c 'import setuptools, tokenize;file='"'"'/private/var/folders/d3/lf6l3m_j6cq3vt06_jqbxjw00000gn/T/pip-install-vc8gwgfl/pycairo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/d3/lf6l3m_j6cq3vt06_jqbxjw00000gn/T/pip-record-9vmu83gb/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/d3/lf6l3m_j6cq3vt06_jqbxjw00000gn/T/pip-install-vc8gwgfl/pycairo/
@BraverChiang You need to install the cairo library https://stackoverflow.com/questions/1500866/how-to-install-pycairo-on-osx
brew install cairo
and rerun pip install
Hello, I'm a science YouTuber in Japan with subscribers 10000+.
I'm such a big fan of 3Blue1Brown's video that I started to upload mathematical videos. These days, 3b1b's video makes me want to make mathematical animations like him.
Today, I tried to install manim to my Mac OS Mojave (ver 10.14.4), following Brian Howell's website (http://bhowell4.com/manic-install-tutorial-for-mac/). But I have a trouble in installing pycairo.
How do I attack this problem ?