pyx文件编译

使用setup.py

例如:

在碰到pyx文件的时候,如果不编译会报错。

ModuleNotFoundError: No module named 'keras_retinanet.utils.compute_overlap', how do I fix this? Most likely you are running the code from the cloned repository. This is fine, but you need to compile some extensions for this to work (python setup.py build_ext --inplace).

原文地址:https://www.cnblogs.com/ywheunji/p/12218635.html