autonomousvision / occupancy_networks

This repository contains the code for the paper "Occupancy Networks - Learning 3D Reconstruction in Function Space"
https://avg.is.tuebingen.mpg.de/publications/occupancy-networks
MIT License
1.48k stars 291 forks source link

Add missing include_dirs in setup.py #127

Open Kudo510 opened 1 year ago

Kudo510 commented 1 year ago

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