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

Invalid symbol in _backend_gdk.c if numpy version < 1.7 #3712

Closed
ianthomas23 opened this issue Oct 24, 2014 · 1 comment
Closed

Invalid symbol in _backend_gdk.c if numpy version < 1.7 #3712

ianthomas23 opened this issue Oct 24, 2014 · 1 comment
Milestone

Comments

@ianthomas23
Copy link
Member

PR #3665 added the following to _backend_gdk.c (lines 40-43):

array = (PyArrayObject*)
        PyArray_New(&PyArray_Type, 3, dims, NPY_UBYTE, strides,
                    (void*)gdk_pixbuf_get_pixels(gdk_pixbuf), 1,
                    NPY_ARRAY_WRITEABLE, NULL);

The flag NPY_ARRAY_WRITEABLE is not valid for numpy versions < 1.7, the equivalent flag is NPY_WRITEABLE.

@tacaswell
Copy link
Member

Closed by #3725

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

3 participants