When i run test.py
https://github.com/zisianw/FaceBoxes.PyTorch
It imports this file https://github.com/zisianw/FaceBoxes.PyTorch/blob/master/utils/nms_wrapper.py
And this file tries to import the two .pyx
files inside this folder
https://github.com/zisianw/FaceBoxes.PyTorch/tree/master/utils/nms
How can I convert those .pyx
files to normal Python code or just import them somehow?
I am getting this error without doing anything
from .nms.cpu_nms import cpu_nms, cpu_soft_nms
ModuleNotFoundError: No module named 'utils.nms.cpu_nms'
Possible solution is not working.
import pyximport
pyximport.install()
It is giving me this error
> ImportError: Building module utils.nms.cpu_nms failed: ["distutils.errors.CompileError: command 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2019\\\\Community\\\\VC\\\\Tools\\\\MSVC\\\\14.25.28610\\\\bin\\\\HostX86\\\\x64\\\\cl.exe' failed with exit status 2\n"]