我正在尝试在Mac OSX Yosemite上安装matplotlib:
pip install matplotlib
但我收到以下消息:
* The following required packages can not be built:
* freetype
当我尝试安装freetype时,
brew install freetype2
我明白了:
/usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
/usr/local/bin/brew: line 21: /usr/local/Library/brew.rb: Undefined error: 0
我可以做些什么来安装freetype和matplotlib?