' error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 '

运行faster-rcnn.pytorch/lib/make.sh脚本,出现错误:

' error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 '

谷歌到很多办法,但是最终发现是版本问题,修改pytorch的版本为0.4.0,就很好的解决问题了

当然,每个人的问题原因可能不太一样,在此给出觉得不错的回答链接,大家可以参考下:

https://github.com/jwyang/faster-rcnn.pytorch/issues/235
https://github.com/scrapy/scrapy/issues/2115

猜你喜欢

转载自blog.csdn.net/qq_18649781/article/details/89849570