Open jingyan1216 opened 8 years ago
The issue may be caused by your cython version. What's your cython version?
I'm using cython 0.24 and gcc 4.9.2, on CentOS-6.6-x86_64.
Looks like a strange issue...
gcc is looking for a nms/cpu_nms.c
file, which doesn't (and shouldn't?) exist..
If I look in the setup.py script I see:
Extension(
"nms.cpu_nms",
["nms/cpu_nms.pyx"],
extra_compile_args={'gcc': ["-Wno-cpp", "-Wno-unused-function"]},
include_dirs = [numpy_include]
It should be looking for nms/cpu_nms.pyx
. Did you modify the setup.py script somehow?
I managed to build the Cython modules on another machine with Ubuntu 14.04, cython 0.23.4, gcc 4.8.4, Python 2.7.
On the other machine, I still got the original error. I downgraded Cython from 0.24 to 0.23.4 and it didn't help, so Cython version is not the issue. There seems to be something fragile about the set_up.py
script, but I haven't been able to identify what exactly the issue is.
I didn't make any changes to the setup.py
script.
Hi,
I followed the installation guide and got the following error with
make
:I was wondering if you have any thoughts on how I can fix it. Thanks!