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

后端 未结 11 2563
广开言路
广开言路 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:28

    I spent hours trying to get matplotlib to install with the latest python 3, pip, setuptools everything... What finally worked for me was going to https://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib downloading the wheel file and executing this in the same directory:

    pip install matplotlib‑3.2.0rc2‑cp38‑cp38‑win_amd64.whl
    

提交回复
热议问题