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

Possible fail with OSX El Capitan #6

Open
mdelete opened this issue Jan 12, 2016 · 0 comments
Open

Possible fail with OSX El Capitan #6

mdelete opened this issue Jan 12, 2016 · 0 comments

Comments

@mdelete
Copy link

mdelete commented Jan 12, 2016

hi there!

pip install https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.2.1/matplotlib-1.2.1.tar.gz

may fail on El Capitan

first with:

src/ft2font.h:16:10: fatal error: 'ft2build.h' file not found

or later with:

src/backend_agg.cpp:2050:15: error: use of undeclared identifier 'npy_PyFile_Dup'
    if ((fp = npy_PyFile_Dup(py_file, (char *)"wb")))

src/backend_agg.cpp:2054:13: error: use of undeclared identifier 'npy_PyFile_DupClose'
        npy_PyFile_DupClose(py_file, fp);

src/backend_agg.cpp:2064:9: error: use of undeclared identifier 'npy_PyFile_DupClose'
        npy_PyFile_DupClose(py_file, fp);

solution for the first issue is to amend PKG_CONFIG_PATH:

export PKG_CONFIG_PATH="/opt/X11/lib/pkgconfig"

solution for the second issue is upgrade to newer version on matplotlib:

pip install https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-1.5.1/matplotlib-1.5.1.tar.gz
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

1 participant