Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'darkflow.cython_utils.cy_yolo_findboxes' #5

Open
ithjz opened this issue Dec 1, 2017 · 5 comments

Comments

@ithjz
Copy link

ithjz commented Dec 1, 2017

Traceback (most recent call last):
File "D:\Users\Administrator\workspace\YOLO_Object_Detection-master\test\test_darkflow.py", line 1, in
from darkflow.net.build import TFNet
File "D:\Users\Administrator\workspace\YOLO_Object_Detection-master\darkflow\net\build.py", line 7, in
from .framework import create_framework
File "D:\Users\Administrator\workspace\YOLO_Object_Detection-master\darkflow\net\framework.py", line 1, in
from . import yolo
File "D:\Users\Administrator\workspace\YOLO_Object_Detection-master\darkflow\net\yolo_init_.py", line 2, in
from . import predict
File "D:\Users\Administrator\workspace\YOLO_Object_Detection-master\darkflow\net\yolo\predict.py", line 7, in
from ...cython_utils.cy_yolo_findboxes import yolo_box_constructor
ModuleNotFoundError: No module named 'darkflow.cython_utils.cy_yolo_findboxes'

@lg0killer
Copy link

Try this page for Windows:
http://iam-data.com/resolving-python-error-fix-link-fatal-error-lnk1158-cannot-run-rcexe

@sjhansen3
Copy link

Advice for similar issue on Mac?

Warning: Extension name 'darkflow.cython_utils.nms' does not match fully qualified name 'nms' of 'darkflow/cython_utils/nms.pyx'
Warning: Extension name 'darkflow.cython_utils.cy_yolo2_findboxes' does not match fully qualified name 'cy_yolo2_findboxes' of 'darkflow/cython_utils/cy_yolo2_findboxes.pyx'
darkflow/cython_utils/cy_yolo2_findboxes.pyx: cannot find cimported module 'nms'
Warning: Extension name 'darkflow.cython_utils.cy_yolo_findboxes' does not match fully qualified name 'cy_yolo_findboxes' of 'darkflow/cython_utils/cy_yolo_findboxes.pyx'
darkflow/cython_utils/cy_yolo_findboxes.pyx: cannot find cimported module 'nms'
running build_ext
copying build/lib.macosx-10.6-intel-3.6/darkflow/cython_utils/nms.cpython-36m-darwin.so -> darkflow/cython_utils
copying build/lib.macosx-10.6-intel-3.6/darkflow/cython_utils/cy_yolo2_findboxes.cpython-36m-darwin.so -> darkflow/cython_utils
copying build/lib.macosx-10.6-intel-3.6/darkflow/cython_utils/cy_yolo_findboxes.cpython-36m-darwin.so -> darkflow/cython_utils

@skylinetech-team
Copy link

seeing same error on Mac Air, any advises ?

File "/Users/markhu/Projects/object_detection_frameworks/YOLO_Object_Detection/darkflow/net/yolo/predict.py", line 7, in
from ...cython_utils.cy_yolo_findboxes import yolo_box_constructor
ModuleNotFoundError: No module named 'darkflow.cython_utils.cy_yolo_findboxes'

@Louagyd
Copy link

Louagyd commented Aug 22, 2018

you should run the script inside darkflow folder.

@vaibhavshukla182
Copy link

trying installing dark flow globally using pip install -e.
it worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants