Install error: ftheader.h: No such file or directory

前端 未结 3 1337
天命终不由人
天命终不由人 2021-02-19 22:15

When I am trying to build matplotlib-1.3.1, I am getting the below freetype header errors. Probably it is not finding the ftheader.h. Any idea on how to solve this problem?

3条回答
  •  情书的邮戳
    2021-02-19 22:58

    For Mac OS 10.6.8

    sudo ln -s /usr/X11/include/freetype2/freetype /usr/X11/include/.
    

    Seems to do the trick... If you look at the /usr/X11/include/ft2build.h it seems as though it is really a problem with that header file and the way free type is installed, not a matplotlib problem.

提交回复
热议问题