darkflow icon indicating copy to clipboard operation
darkflow copied to clipboard

When I was trying to run things from Pycharm, ImportError: No module named 'darkflow.cython_utils.cy_yolo_findboxes' happened

Open liuhantao9 opened this issue 7 years ago • 10 comments

I have tried python3 setup.py build_ext --inplace tried pip install -e . tried everything, but it just can be solved. Any help will be appreciated. screen shot 2018-01-26 at 1 55 29 am

liuhantao9 avatar Jan 26 '18 10:01 liuhantao9

I'm facing the same issue too

milan-thom avatar Mar 09 '18 17:03 milan-thom

@milan-thom I solved this problem by I downgrading my Python to 3.5

liuhantao9 avatar Mar 11 '18 05:03 liuhantao9

@liuhantao9 can you help me that how to use pycharm to run this project?

lijiaze2018 avatar Jul 22 '18 06:07 lijiaze2018

@milan-thom can you help me that how to use pycharm to run this project?

lijiaze2018 avatar Jul 22 '18 13:07 lijiaze2018

pls if any1 find solution then post it....

@liuhantao9 l already using 3.5 still , not working

bitmoji

MananAmin avatar Jul 26 '18 17:07 MananAmin

@MananAmin ,I solve it,You should copy the files in the folder cython_utils(when you pip install Cython,the folder will be created) to the \darkflow-master\darkflow\cython_utils folder.if you do this you will solve it.

lijiaze2018 avatar Jul 29 '18 08:07 lijiaze2018

@MananAmin Sorry, my friend, I remembered it wrong, so I opened my computer and confirmed it. The correct way is: copy the contents of this folder:Python35\Lib\site-packages\darkflow\cython_utils
to the \darkflow-master\darkflow\cython_utils folder.This time I am sure it is correct.Give you a screenshot of this folder:

0000000000000000000001 Copy all the files inside!

lijiaze2018 avatar Jul 30 '18 12:07 lijiaze2018

@lijiaze2018 thanks for replying ... now I get your point but problem is that I don't have installed the first library named darkflow( so can you please upload that four file )

once again thank you.

MananAmin avatar Jul 30 '18 12:07 MananAmin

@MananAmin Of course, but if you don't install darkflow, you may still have problems. (sorry,I am trying to upload,but GitHub does not support uploading of this format file..........)You can install it, it's very simple, the author has already written it.

lijiaze2018 avatar Aug 01 '18 01:08 lijiaze2018

@kocica posted this on #914 : https://stackoverflow.com/questions/52581584/darkflow-no-module-named-darkflow-cython-utils-cy-yolo-findboxes

Worked for me

KLD avatar Apr 11 '19 06:04 KLD