Traceback (most recent call last):


 "build.py", line 38, in <module>

ffi.build()


 "/home/guyan/anaconda3/envs/Maxwell2/lib/python2.7/site-packages/torch/utils/ffi/__init__.py", line 164, in build

_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)


 "/home/guyan/anaconda3/envs/Maxwell2/lib/python2.7/site-packages/torch/utils/ffi/__init__.py", line 100, in _build_extension

ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)


 "/home/guyan/anaconda3/envs/Maxwell2/lib/python2.7/site-packages/cffi/api.py", line 684, in compile

compiler_verbose=verbose, debug=debug, **kwds)


 "/home/guyan/anaconda3/envs/Maxwell2/lib/python2.7/site-packages/cffi/recompiler.py", line 1484, in recompile

compiler_verbose, debug)


 "/home/guyan/anaconda3/envs/Maxwell2/lib/python2.7/site-packages/cffi/ffiplatform.py", line 20, in compile

outputfilename = _build(tmpdir, ext, compiler_verbose, debug)


 "/home/guyan/anaconda3/envs/Maxwell2/lib/python2.7/site-packages/cffi/ffiplatform.py", line 56, in _build

raise VerificationError('%s: %s' % (e.__class__.__name__, e))
cffi.error.VerificationError: CompileError: command 'gcc' failed with exit status 1

Traceback (most recent call last):


 "build.py", line 49, in <module>

ffi.build()


 "/home/wangzhe/faster-rcnn.pytorch/py2_torch0.2.0/local/lib/python2.7/site-packages/torch/utils/ffi/__init__.py", line 164, in build

_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)


 "/home/wangzhe/faster-rcnn.pytorch/py2_torch0.2.0/local/lib/python2.7/site-packages/torch/utils/ffi/__init__.py", line 100, in _build_extension

ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)


 "/home/wangzhe/faster-rcnn.pytorch/py2_torch0.2.0/local/lib/python2.7/site-packages/cffi/api.py", line 697, in compile

compiler_verbose=verbose, debug=debug, **kwds)


 "/home/wangzhe/faster-rcnn.pytorch/py2_torch0.2.0/local/lib/python2.7/site-packages/cffi/recompiler.py", line 1520, in recompile

compiler_verbose, debug)


 "/home/wangzhe/faster-rcnn.pytorch/py2_torch0.2.0/local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 22, in compile

outputfilename = _build(tmpdir, ext, compiler_verbose, debug)


 "/home/wangzhe/faster-rcnn.pytorch/py2_torch0.2.0/local/lib/python2.7/site-packages/cffi/ffiplatform.py", line 58, in _build

raise VerificationError('%s: %s' % (e.__class__.__name__, e))
cffi.error.VerificationError: CompileError: command 'x86_64-linux-gnu-gcc' failed with exit status 1
