Python Forum
Cannot open include file: 'ft2build.h'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot open include file: 'ft2build.h'
#1
I'm trying to install matplotlib on Windows 10. I have Python 3.8.0 installed in C:\Python. I did:
py -m pip install matplotlib

Initially, I got an error "Microsoft Visual C++ 14.0 is required" which after several download and installs, I fixed by installing Visual C++ 2015 Build Tools. Now I get:
fatal error C1083: Cannot open include file: 'ft2build.h'

I installed GnuWin32 Freetype but it doesn't help. I also tried copying the freetype h files into the Python include folder but no luck. How do I resolve this error?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to include one script into another? MorningWave 8 474 Mar-21-2024, 10:34 PM
Last Post: MorningWave
  Open/save file on Android frohr 0 332 Jan-24-2024, 06:28 PM
Last Post: frohr
  file open "file not found error" shanoger 8 1,126 Dec-14-2023, 08:03 AM
Last Post: shanoger
  how include a python code in notpad++ plugin akbarza 2 639 Sep-25-2023, 08:25 PM
Last Post: deanhystad
  How can i combine these two functions so i only open the file once? cubangt 4 867 Aug-14-2023, 05:04 PM
Last Post: snippsat
  Regex Include and Exclude patterns in Same Expression starzar 2 792 May-23-2023, 09:12 AM
Last Post: Gribouillis
  I cannot able open a file in python ? ted 5 3,353 Feb-11-2023, 02:38 AM
Last Post: ted
  testing an open file Skaperen 7 1,387 Dec-20-2022, 02:19 AM
Last Post: Skaperen
  I get an FileNotFouerror while try to open(file,"rt"). My goal is to replace str decoded 1 1,407 May-06-2022, 01:44 PM
Last Post: Larz60+
  Dynamic File Name to a shared folder with open command in python sjcsvatt 9 6,051 Jan-07-2022, 04:55 PM
Last Post: bowlofred

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020