inplace_abn icon indicating copy to clipboard operation
inplace_abn copied to clipboard

Changing nvcc path , error when runninf setup.py

Open Wonder1905 opened this issue 4 years ago • 1 comments

Hi I'm trying to install setup.py and I'm getting: "error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1"

I have a valid path :/usr/local/cuda-10.1/bin/nvcc, but it always picks the path shown above. Although all my env variables, are set to cuda-10.1: PATH=/usr/local/cuda-10.1/bin CUDA_ROOT=/usr/local/cuda-10.1/bin CUDA_PATH=/usr/local/cuda-10.1/ LD_LIBRARY_PATH=/usr/local/cuda-10.1/lib64:

Any idea how to force setup.py to use the nvcc from cuda-10.1? Thanks.

Wonder1905 avatar Jan 19 '21 20:01 Wonder1905

same error ... even I update gcc 4.8-->5.3 error still

pip install inplace_abn

nvcc fatal : Value 'c++14' is not defined for option 'std' error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for inplace_abn Running setup.py clean for inplace_abn Failed to build inplace_abn Installing collected packages: inplace_abn Running setup.py install for inplace_abn ... error error: subprocess-exited-with-error × Running setup.py install for inplace_abn did not run successfully. │ exit code: 1 [32 lines of output]

macqueen09 avatar May 30 '22 13:05 macqueen09