fpn.pytorch icon indicating copy to clipboard operation
fpn.pytorch copied to clipboard

COMPILEERROR(I already change the sm_61 but error still happened)

Open yuyijie1995 opened this issue 7 years ago • 6 comments

Traceback (most recent call last): File "build.py", line 35, in ffi.build() File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 189, in build _build_extension(ffi, cffi_wrapper_name, target_dir, verbose) File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/torch/utils/ffi/init.py", line 111, in _build_extension outfile = ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname) File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/cffi/api.py", line 697, in compile compiler_verbose=verbose, debug=debug, **kwds) File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/cffi/recompiler.py", line 1520, in recompile compiler_verbose, debug) File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/cffi/ffiplatform.py", line 22, in compile outputfilename = _build(tmpdir, ext, compiler_verbose, debug) File "/home/wrc/anaconda3/envs/pytorch0.4/lib/python3.6/site-packages/cffi/ffiplatform.py", line 58, in _build raise VerificationError('%s: %s' % (e.class.name, e)) cffi.error.VerificationError: CompileError: command 'gcc' failed with exit status 1

yuyijie1995 avatar Oct 20 '18 14:10 yuyijie1995

I met the same problem.Have you solved it?

youngYMR avatar Oct 23 '18 12:10 youngYMR

same error.Who can answer the question?

John-Rocker avatar Oct 23 '18 13:10 John-Rocker

I have no idea

yuyijie1995 avatar Oct 24 '18 01:10 yuyijie1995

I met the same problem when compiling. Who can help with this problem?

SJTU-Applemin avatar Dec 03 '18 06:12 SJTU-Applemin

the same problem exists in the project issues,change your pytorch version to 0.4.0 seems to be useful

salt-fisher avatar Dec 03 '18 23:12 salt-fisher

you could try python2.7, I used python 2.7 and complied with no issues

JackJWWong avatar Jan 12 '19 04:01 JackJWWong