Skip to content

Add missing include_dirs in setup.py#127

Open
Kudo510 wants to merge 1 commit into
autonomousvision:masterfrom
Kudo510:fix/setuppy-missing-include-dirs
Open

Add missing include_dirs in setup.py#127
Kudo510 wants to merge 1 commit into
autonomousvision:masterfrom
Kudo510:fix/setuppy-missing-include-dirs

Conversation

@Kudo510

@Kudo510 Kudo510 commented Jun 27, 2023

Copy link
Copy Markdown

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