× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [61 lines of output]
D:\darkflow\setup.py:6: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
import imp
Compiling darkflow/cython_utils/nms.pyx because it changed.
Compiling darkflow/cython_utils/cy_yolo2_findboxes.pyx because it changed.
Compiling darkflow/cython_utils/cy_yolo_findboxes.pyx because it changed.
[1/3] Cythonizing darkflow/cython_utils/cy_yolo2_findboxes.pyx
C:\Users\anaconda3\Lib\site-packages\Cython\Compiler\Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: D:\steelseries Ai\darkflow\darkflow\cython_utils\cy_yolo2_findboxes.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
cimport numpy as np
cimport cython
ctypedef np.float_t DTYPE_t
from libc.math cimport exp
from ..utils.box import BoundBox
from nms cimport NMS
^
------------------------------------------------------------
darkflow\cython_utils\cy_yolo2_findboxes.pyx:7:0: 'nms.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
cimport numpy as np
cimport cython
ctypedef np.float_t DTYPE_t
from libc.math cimport exp
from ..utils.box import BoundBox
from nms cimport NMS
^
------------------------------------------------------------
darkflow\cython_utils\cy_yolo2_findboxes.pyx:7:0: 'nms\NMS.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
if(tempc > threshold):
probs[row, col, box_loop, class_loop] = tempc
#NMS
return NMS(np.ascontiguousarray(probs).reshape(H*W*B,C), np.ascontiguousarray(Bbox_pred).reshape(H*B*W,5))
^
------------------------------------------------------------
darkflow\cython_utils\cy_yolo2_findboxes.pyx:97:11: 'NMS' is not a constant, variable or function identifier
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "D:\steelseries Ai\darkflow\setup.py", line 73, in <module>
ext_modules = cythonize(ext_modules)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\\anaconda3\Lib\site-packages\Cython\Build\Dependencies.py", line 1154, in cythonize
cythonize_one(*args)
File "C:\Users\\anaconda3\Lib\site-packages\Cython\Build\Dependencies.py", line 1321, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: darkflow/cython_utils/cy_yolo2_findboxes.pyx
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Obtaining file:///D:/darkflow Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [61 lines of output] D:\darkflow\setup.py:6: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses import imp Compiling darkflow/cython_utils/nms.pyx because it changed. Compiling darkflow/cython_utils/cy_yolo2_findboxes.pyx because it changed. Compiling darkflow/cython_utils/cy_yolo_findboxes.pyx because it changed. [1/3] Cythonizing darkflow/cython_utils/cy_yolo2_findboxes.pyx C:\Users\anaconda3\Lib\site-packages\Cython\Compiler\Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: D:\steelseries Ai\darkflow\darkflow\cython_utils\cy_yolo2_findboxes.pyx tree = Parsing.p_module(s, pxd, full_module_name)
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.