生成“pycotools.\u mask”扩展名错误:未知文件类型“.pyx”(来自“pycotools/_掩码.pyx')

2024-06-14 12:40:18 发布

您现在位置:Python中文网/ 问答频道 /正文

当我按照它的介绍运行tf-faster-rcnn时,当我在路径../tf-faster-rcnn/data/coco/PythonAPI/下运行make时,我得到以下错误:

python setup.py build_ext --inplace
running build_ext
building 'pycocotools._mask' extension
error: unknown file type '.pyx' (from 'pycocotools/_mask.pyx')
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 1

我试过这个method,但没用。你知道吗


Tags: build路径pythonapidatamaketf错误mask