Open tonmoyborah opened 6 years ago
Is it necessary to use python3 for this. Is there any way to use python2.7? The full error stack is -
python run.py
/home/tonmoy/.local/lib/python2.7/site-packages/requests/init.py:80: RequestsDependencyWarning: urllib3 (1.22) or chardet (2.3.0) doesn't match a supported version!
RequestsDependencyWarning)
/home/tonmoy/.pyxbld/temp.linux-x86_64-2.7/pyrex/darkflow/darkflow/cython_utils/cy_yolo_findboxes.c:242:31: fatal error: numpy/arrayobject.h: No such file or directory
compilation terminated.
Traceback (most recent call last):
File "run.py", line 3, in
Dear @tonmoyborah, I have also faced your problem. I have used TensorFlow 1.7 (GPU Based), Python 3.5, (CUDA 9.0 & cuDNN 7) and all packages installed via pip3 install.
Related Links: 1- No module named cy_yolo_findboxes 2- Link2 3- Link3
@ahkarami your problem would be mainly because of your Cython imo. Cython has this issue of having different versions for different versions of python. So I think you should verify your cython. First step would be to try to import cython in a python 3.5 env.
I can use & import cython in python3. however the above-mentioned problem is remained.
I have also faced your problem. C:\Users\Admin.pyxbld\temp.win-amd64-3.5\Release\pyrex\darkflow\darkflow\cython_utils\cy_yolo_findboxes.c(435): fatal error C1083: Cannot open include file: 'numpy/arrayobject.h': No such file or directory I don't know how to solve.
@AlexMistletoe your issue might be a little different. Try copying cython_utils
folder from inside darkflow directory i.e. /Tracking-with-darkflow/darkflow/cython_utils
to /Tracking-with-darkflow/cython_utils
@tonmoyborah Thanks,but the problem now is:ImportError: No module named 'darkflow.darkflow.cython_utils.cy_yolo_findboxes' when I run the run.py
I got the same error as below, when I run ./flow --h
ImportError: No module named cy_yolo_findboxes I can import cython without any problem in my python code:
import cython cython.version
any idea?
I have also faced your problem. C:\Users\Admin.pyxbld\temp.win-amd64-3.5\Release\pyrex\darkflow\darkflow\cython_utils\cy_yolo_findboxes.c(435): fatal error C1083: Cannot open include file: 'numpy/arrayobject.h': No such file or directory I don't know how to solve.
Exactly my same error. I tried to follow @tonmoyborah 's suggestion but the problem persist. I was hoping to move to the following error :( . Any clue? BTW I did not have cython_utils
inside /Tracking-with-darkflow/darkflow/
but inside /Tracking-with-darkflow/darkflow/darkflow/
. I tried to move it both to /Tracking-with-darkflow/darkflow/
and to /Tracking-with-darkflow/
as suggested, to no avail
I faced this error, ImportError: Building module darkflow.cython_utils.nms failed: ["distutils.errors.CompileError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2\n"] and I have no idea how to solve it. Anyone can help?
@tonmoyborah i am also using python 2.7 facing the same problem. By chance were u able to resolve this issue.
did anyone solved this issue? I am having the exact same issue if any of you have solved it could you please tell me how to fix it?
Anybody solved this problem?
I have installed cython using pip and still have this error when I run run.py. I think I have all the dependencies in place and have step by step instructions you provided. Any idea why this error pops? I am using python2.7, tf 1.2, cython 0.28