digitalbrain79 / darknet-nnpack

Darknet with NNPACK
Other
305 stars 75 forks source link

Import error: No module named confu #22

Closed phongnhhn92 closed 6 years ago

phongnhhn92 commented 6 years ago

Hi guys, I am trying to build the darknet-nnpack but my rasberry pi can not find confu at this step. python ./configure.py --backend auto This is the error: Traceback (most recent call last): File "./configure.py", line 4, in <module> import confu ImportError: No module named confu I run the previous command confu setup with no problem so I guess I installed confu already. Please help me !

mouminali97 commented 6 years ago

I have the same problem!

phongnhhn92 commented 6 years ago

I found my solution. In my raspberry pi 3, confu is installed in python3 not python2. So I edit the command a bit python3 ./configure.py --backend auto It works flawlessly !

mouminali97 commented 6 years ago

Yes it worked now. Thank you so much!

mouminali97 commented 6 years ago

$NINJA_PATH/ninja sudo cp -a lib/* /usr/lib/ sudo cp include/nnpack.h /usr/include/ sudo cp deps/pthreadpool/include/pthreadpool.h /usr/include/

what exactly is this as I am getting an error for this...it says no such file or directory

phongnhhn92 commented 6 years ago

For me the next step is just simply type command ninja so that the NNpack can be built. After that you should be able to copy all the header and library files.

Rishan123 commented 5 years ago

I found my solution. In my raspberry pi 3, confu is installed in python3 not python2. So I edit the command a bit python3 ./configure.py --backend auto It works flawlessly !

I now got the error of:

Usage: configure.py [options] configure.py: error: no such option: --backend

aidamanzano commented 4 years ago

I found my solution. In my raspberry pi 3, confu is installed in python3 not python2. So I edit the command a bit python3 ./configure.py --backend auto It works flawlessly !

Hi I tried this and I get this error instaed:Traceback (most recent call last): File "./configure.py", line 4, in <module> import confu ModuleNotFoundError: No module named 'confu' Anyone managed to fix this issue? I'm using a Raspberry Pi 4 and Raspbian Buster