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

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

    Download your file to a folder on your C drive. In windows CMD prompt as Administrator navigate you your path using cd.. or cd wheels (in my case I saved the file to c:\Wheels) then type pip install YourFilename.whl

    Results in

    Processing c:\wheels\scipy-0.19.0-cp27-cp27m-win_amd64.whl
    Requirement already satisfied: numpy>=1.8.2 in c:\python27\lib\site-packages (from scipy==0.19.0)
    Installing collected packages: scipy
    Successfully installed scipy-0.19.0
    

提交回复
热议问题