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
  open a text file using list() Pedroski55 2 115 Feb-25-2026, 06:57 PM
Last Post: noisefloor
  If I open a file write or append, is the file loaded into RAM? Pedroski55 11 1,118 Jan-14-2026, 07:49 AM
Last Post: Pedroski55
Question [SOLVED] Open file, and insert space in string? Winfried 7 2,524 May-28-2025, 07:56 AM
Last Post: Winfried
  Trying to open depracated joblib file mckennamason 0 2,156 Sep-19-2024, 03:30 PM
Last Post: mckennamason
  How to include one script into another? MorningWave 8 3,090 Mar-21-2024, 10:34 PM
Last Post: MorningWave
  Open/save file on Android frohr 0 2,186 Jan-24-2024, 06:28 PM
Last Post: frohr
  file open "file not found error" shanoger 8 17,397 Dec-14-2023, 08:03 AM
Last Post: shanoger
  how include a python code in notpad++ plugin akbarza 2 2,216 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 2,702 Aug-14-2023, 05:04 PM
Last Post: snippsat
  Regex Include and Exclude patterns in Same Expression starzar 2 2,549 May-23-2023, 09:12 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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