Matplotlib Build Problem: Error C1083: Cannot open include file: 'ft2build.h'

后端 未结 11 2564
广开言路
广开言路 2020-12-03 02:24

ft2build.h is located here:

C:\\Program Files\\GnuWin32\\include

Initially, I made the same mistake as here:

Fatal

11条回答
  •  情书的邮戳
    2020-12-03 03:04

    This error comes about when building matplotlib on Ubuntu 10.10 also. The solution is to do:

    sudo apt-get install python-dev libfreetype6-dev
    

提交回复
热议问题