When I try to compile c extension by using python bulid.py, it always raise error:
CompileError: command ‘gcc’ failed with exit status 1 #235.
I search in pytorch forums but get no answers.
And I find this link https://github.com/jwyang/faster-rcnn.pytorch/issues/235 33 discuss the same problem and someone give some solution — switch pytorch to 0.4.0
I want to know is there some better solution, because it’s annoying to install another version.