Open ily-R opened 3 years ago
The nvcc is not depend on the cudatoolkit package from conda. In this case, I highly suspect that nvcc is from CUDA 9, which is not compatible to build the Masktextspotter. Try reinstalling the CUDA 10.0 to you system (or even 10.2 is ok, just make sure to match the pytorch version you are using)
Hello,
When running apex command
python setup.py install --cuda_ext --cpp_ext
I get the following errorerror: command '/usr/bin/nvcc' failed with exit status 1
I checked some solutions and I removed the cpp part and only did
python setup.py install
it worked and I got through.Now when I try to build Masktextspotter with
python setup.py build develop
I get the same error againerror: command '/usr/bin/nvcc' failed with exit status 1
I tried:
But didnt solve the issue.
Here's my system details:
I also should mention that I was having this error raised when I was trying to install apex:
So I just commented the check to avoid this.
if (bare_metal_major != torch_binary_major) or (bare_metal_minor != torch_binary_minor):
Any ideas on the source of this error
error: command '/usr/bin/nvcc' failed with exit status 1
?Thank you