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

Add missing include_dirs in setup.py #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Kudo510
Copy link

@Kudo510 Kudo510 commented Jun 27, 2023

Hi,
In the setup.py file, the Extension of pykdtree should also have the argument include_dirs=[numpy.get_include()]. Otherwise it returns error "[Cython: "fatal error: numpy/arrayobject.h: No such file or directory"]" when I run python setup.py build_ext --inplace
(As a person who doesn't know cpython at the beginning the error makes us unable to rebuild the project and likely to give up)
Best regard

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

Successfully merging this pull request may close these issues.

1 participant