I am trying to run GitHub code, where facing issues with importing files having extention .c, .cpp, .hpp, .pyx in init.py file.
Here's the file in which we have to import bbox, cython_nms and gpu_nms modules:
These are residing in the same folder as init.py is:
But it gives this err:
Holding two questions:
How to import other then .py extention modules in .py file?
Importing two or more modules having same name but different extensions using one
import
statement.
For instance:
from . import bbox
where two modules named with bbox in the same folder bbox.c and bbox.pyx.