Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error #5

Open
aryamousavi20 opened this issue Feb 22, 2022 · 1 comment
Open

Build error #5

aryamousavi20 opened this issue Feb 22, 2022 · 1 comment

Comments

@aryamousavi20
Copy link

Hi, I get an error, when I want to build the package.

.
.
.
Running matplotlib-3.1.1\setup.py -q bdist_egg --dist-dir .\AppData\Local\Temp\easy_install-0_g8_jy5\matplotlib-3.1.1\egg-dist-tmp-zlp04guh

Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
matplotlib: yes [3.1.1]
python: yes [3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC
v.1927 64 bit (AMD64)]]
platform: yes [win32]

OPTIONAL SUBPACKAGES
sample_data: yes [installing]
tests: no [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
agg: yes [installing]
tkagg: yes [installing; run-time loading from Python Tcl/Tk]
macosx: no [Mac OS-X only]

OPTIONAL PACKAGE DATA
dlls: no [skipping due to configuration]

UPDATING build\lib.win-amd64-3.9\matplotlib_version.py
set build\lib.win-amd64-3.9\matplotlib_version.py to '3.1.1'
checkdep_freetype2.c
src/checkdep_freetype2.c(1): fatal error C1083: Cannot open include file: 'ft2build.h': No such file or directory

Any idea?

@nguyenhieuec
Copy link

Using python 3.6.13 will solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants