mapillary/inplace_abn

Changing nvcc path , error when runninf setup.py

Wonder1905 opened this issue · 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.

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]