faster-rcnn.pytorch
faster-rcnn.pytorch copied to clipboard
LinkError: command 'gcc' failed with exit status 1
gcc -pthread -shared -std=c99 ./_nms.o ./home/ssd1/test/faster-rcnn.pytorch/lib/model/nms/src/nms_cuda.o /home/ssd1/test/faster-rcnn.pytorch/lib/model/nms/src/nms_cuda_kernel.cu.o -L/home/work/python/build/lib -lpython2.7 -o ./_nms.so
/usr/bin/ld: cannot find -lpython2.7
collect2: ld returned 1 exit status
Traceback (most recent call last):
File "build.py", line 37, in
Using torch 0.4.0 CUDA 9.0 -arch sm_61 and modify the CUDA path and python path, but this LinkError remains not solved. Anyone can give me any suggestion?
Try to update gcc.