build error
cuekoo opened this issue · comments
cuekoo commented
How to solve the following issue?
clang: error: no such file or directory: 'maxflow/src/_maxflow.c'
clang: error: no input files
error: command 'cc' failed with exit status 1
pmneila commented
Hi,
I need more details. How are you building the package? Are you using python setup.py build
or pip install PyMaxflow
?
What versions are you using for distutils
, setuptools
and cython
? You can get the versions with:
$ python -c 'import distutils; print distutils.__version__'
$ python -c 'import setuptools; print setuptools.__version__'
$ python -c 'import cython; print cython.__version__'
As a first guess, this thread might be related to your problem, and they claim that installing the distribute
package fixes it.