Skip to content

install error on MacOS #10

Open
Open
@arthitag

Description

@arthitag

I am trying to install DenseInferenceWrapper. I get the following error when I type “make all”:

#########################
refine_3d/dense_inference.cpp:17:10: fatal error: 'numpy/ndarrayobject.h' file
not found
#include <numpy/ndarrayobject.h>
^
1 error generated.
make[1]: *** [dense_inference.o] Error 1
make: *** [all] Error 2
############################

I put the path /usr/local/lib/python2.7/dist-packages/numpy/core/include on CFLAGS:
$ export CFLAGS="-I /usr/local/lib/python2.7/dist-packages/numpy/core/include $CGLAGS”
and also PYTHON_INCLUDE and PATH and I also modified setup.py and added :

include_dirs=[numpy.get_include()]

But nothing seems to work. Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions