PWC-Net icon indicating copy to clipboard operation
PWC-Net copied to clipboard

error when trying to set up pytorch

Open kellyJin0505 opened this issue 6 years ago • 1 comments

hello, I follow the set up guide to install pytorch using anaconda2 on ubuntu 16.04. When I ran 'bash make_cuda.sh', it showed error of gcc like: Compiling correlation layer kernels by nvcc... make_cuda.sh: line 9: nvcc: command not found make_cuda.sh: line 10: nvcc: command not found Including CUDA code. ........(long words are omitted) gcc: error: /home/masteryuan/Documents/streetget/streetget/data/PWC-Net-master/PyTorch/external_packages/correlation-pytorch-master/correlation-pytorch/correlation_package/src/corr_cuda_kernel.cu.o: No such file or directory gcc: error: /home/masteryuan/Documents/streetget/streetget/data/PWC-Net-master/PyTorch/external_packages/correlation-pytorch-master/correlation-pytorch/correlation_package/src/corr1d_cuda_kernel.cu.o: No such file or directory error: command 'gcc' failed with exit status 1 I have checked my gcc is 5.4 version and I also tried to reinstall 4.8 version and there is no use. Hoping for help.

kellyJin0505 avatar Mar 14 '19 05:03 kellyJin0505

@kellyJin0505 It says "nvcc: command not found", meaning cuda is not installed in your machine

jrenzhile avatar Mar 14 '19 14:03 jrenzhile