command ‘gcc‘ failed with exit status 1

When using faster-rcnn to train a custom data set, an error is reported during the operation:
command 'gcc' failed with exit status 1

1. Causes:

It means that a certain module is missing. The specific missing module depends on the content of the last line before the error is reported. For example:
insert image description here
install the corresponding module according to the missing module.

2. Solutions:

If the modules in the above figure are missing,

pip install python-devel

In other cases please try:(this approach often works)

pip install cython

3. Note:

4. Reference link:

Guess you like

Origin blog.csdn.net/weixin_44409833/article/details/127238450