digitalbrain79 / pyyolo

Simple python wrapper for YOLO.
126 stars 65 forks source link

Make error 127 #31

Open xu932 opened 6 years ago

xu932 commented 6 years ago

I got following error when using make to install the project:

/bin/sh: 1: nvcc: not found Makefile:66: recipe for target 'obj/convolutional_kernels.o' failed make: *** [obj/convolutional_kernels.o] Error 127 cam2@Precision-tower-7910:~/alex/pyyolo$ logout Connection to ee220cpc4.ecn.purdue.edu closed.

bcarothers19 commented 6 years ago

I think you are trying to install on a machine without a GPU/CUDNN installed. The default Makefile has these two options enabled. Go into the Makefile, and make changes to the first two lines:

GPU=0
CUDNN=0
DEBUG=0
OPENCV=0

Now try to use make again, it shouldn't need nvcc now.