You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran the setup.py without error, only one warning:
/usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated.
But when I ran the run.py with error
/Users/edgar/.pyxbld/temp.macosx-10.7-x86_64-2.7/pyrex/darkflow/darkflow/cython_utils/cy_yolo_findboxes.c:435:10: fatal error: 'numpy/arrayobject.h' file not found #include "numpy/arrayobject.h" ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. Traceback (most recent call last): File "run.py", line 3, in <module> from darkflow.darkflow.net.build import TFNet File "/Users/edgar/project/pyCodes/Darknet-tensorflow/darkflow/darkflow/net/build.py", line 7, in <module> from .framework import create_framework File "/Users/edgar/project/pyCodes/Darknet-tensorflow/darkflow/darkflow/net/framework.py", line 1, in <module> from . import yolo File "/Users/edgar/project/pyCodes/Darknet-tensorflow/darkflow/darkflow/net/yolo/__init__.py", line 2, in <module> from . import predict File "/Users/edgar/project/pyCodes/Darknet-tensorflow/darkflow/darkflow/net/yolo/predict.py", line 9, in <module> from ...cython_utils.cy_yolo_findboxes import yolo_box_constructor File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/pyximport/pyximport.py", line 445, in load_module language_level=self.language_level) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/pyximport/pyximport.py", line 234, in load_module exec("raise exc, None, tb", {'exc': exc, 'tb': tb}) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/pyximport/pyximport.py", line 216, in load_module inplace=build_inplace, language_level=language_level) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/pyximport/pyximport.py", line 192, in build_module reload_support=pyxargs.reload_support) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/pyximport/pyxbuild.py", line 102, in pyx_to_dll dist.run_commands() File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 185, in run _build_ext.build_ext.run(self) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 193, in build_extensions self.build_extension(ext) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/command/build_ext.py", line 499, in build_extension depends=ext.depends) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/ccompiler.py", line 574, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/unixccompiler.py", line 124, in _compile raise CompileError, msg ImportError: Building module darkflow.darkflow.cython_utils.cy_yolo_findboxes failed: ["CompileError: command 'gcc' failed with exit status 1\n"]
config: os 10.12.6
python2.7
numpy 1.13.3
can you give me some advice?
The text was updated successfully, but these errors were encountered:
hi HAK-CODE, thank you for your great work.
I ran the setup.py without error, only one warning:
/usr/local/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^ 1 warning generated.
But when I ran the run.py with error
/Users/edgar/.pyxbld/temp.macosx-10.7-x86_64-2.7/pyrex/darkflow/darkflow/cython_utils/cy_yolo_findboxes.c:435:10: fatal error: 'numpy/arrayobject.h' file not found #include "numpy/arrayobject.h" ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. Traceback (most recent call last): File "run.py", line 3, in <module> from darkflow.darkflow.net.build import TFNet File "/Users/edgar/project/pyCodes/Darknet-tensorflow/darkflow/darkflow/net/build.py", line 7, in <module> from .framework import create_framework File "/Users/edgar/project/pyCodes/Darknet-tensorflow/darkflow/darkflow/net/framework.py", line 1, in <module> from . import yolo File "/Users/edgar/project/pyCodes/Darknet-tensorflow/darkflow/darkflow/net/yolo/__init__.py", line 2, in <module> from . import predict File "/Users/edgar/project/pyCodes/Darknet-tensorflow/darkflow/darkflow/net/yolo/predict.py", line 9, in <module> from ...cython_utils.cy_yolo_findboxes import yolo_box_constructor File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/pyximport/pyximport.py", line 445, in load_module language_level=self.language_level) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/pyximport/pyximport.py", line 234, in load_module exec("raise exc, None, tb", {'exc': exc, 'tb': tb}) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/pyximport/pyximport.py", line 216, in load_module inplace=build_inplace, language_level=language_level) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/pyximport/pyximport.py", line 192, in build_module reload_support=pyxargs.reload_support) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/pyximport/pyxbuild.py", line 102, in pyx_to_dll dist.run_commands() File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 185, in run _build_ext.build_ext.run(self) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/site-packages/Cython/Distutils/old_build_ext.py", line 193, in build_extensions self.build_extension(ext) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/command/build_ext.py", line 499, in build_extension depends=ext.depends) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/ccompiler.py", line 574, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/Users/edgar/.pyenv/versions/anaconda2-4.0.0/lib/python2.7/distutils/unixccompiler.py", line 124, in _compile raise CompileError, msg ImportError: Building module darkflow.darkflow.cython_utils.cy_yolo_findboxes failed: ["CompileError: command 'gcc' failed with exit status 1\n"]
config: os 10.12.6
python2.7
numpy 1.13.3
can you give me some advice?
The text was updated successfully, but these errors were encountered: