unable to install on Mac using either pip or manual installation
karthickgopalswamy opened this issue · 2 comments
karthickgopalswamy commented
However I try to build, it results in the same error as below.
"Using deprecated NumPy API, disable it with " "#define
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with "
^
maxflow/src/_maxflow.cpp:637:10: fatal error: 'ios' file not found
#include "ios"
^~~~~
timmh commented
adding CFLAGS='-stdlib=libc++'
worked for me, e.g.: CFLAGS='-stdlib=libc++' pip install PyMaxflow
(similar to huggingface/neuralcoref#97)
pmneila commented
Binary wheels are available via pip now for multiple platforms including Mac. Hopefully this problem will not recur.
Best