小编til*_*way的帖子

Python - 在Mac OSX Snow Leopard中安装matplotlib

我在安装matplotlib时遇到了麻烦.我在许多其他主题上遇到了类似的错误,但这些解决方案都没有为我工作.我已经尝试通过pip和git安装matplotlib,每次我非常感谢帮助时都会收到同样的错误.

In file included from src/ft2font.cpp:3:
src/ft2font.h:16:22: error: ft2build.h: No such file or directory
src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:19:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:20:10: error: #include expects "FILENAME" or <FILENAME>
src/ft2font.h:21:10: error: #include expects "FILENAME" or <FILENAME>
In file included from src/ft2font.cpp:3:
src/ft2font.h:34: error: 'FT_Bitmap' has not been declared
src/ft2font.h:34: error: 'FT_Int' has not been declared
src/ft2font.h:34: error: 'FT_Int' has not been declared
src/ft2font.h:86: error: expected ',' or …
Run Code Online (Sandbox Code Playgroud)

python install matplotlib

4
推荐指数
1
解决办法
2637
查看次数

标签 统计

install ×1

matplotlib ×1

python ×1