Python Forum
Cannot open include file: 'ft2build.h' - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Cannot open include file: 'ft2build.h' (/thread-22411.html)



Cannot open include file: 'ft2build.h' - thracian - Nov-11-2019

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?