Skip to content

LinkError: command 'gcc' failed with exit status 1 #51

@SkyBroY

Description

@SkyBroY

LinkError: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "build.py", line 40, in
ffi.build()
File "/home/wei.li/anaconda3/envs/group_1/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/wei.li/anaconda3/envs/group_1/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/wei.li/anaconda3/envs/group_1/lib/python3.6/site-packages/cffi-1.15.0-py3.6-linux-x86_64.egg/cffi/api.py", line 727, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File "/home/wei.li/anaconda3/envs/group_1/lib/python3.6/site-packages/cffi-1.15.0-py3.6-linux-x86_64.egg/cffi/recompiler.py", line 1565, in recompile
compiler_verbose, debug)
File "/home/wei.li/anaconda3/envs/group_1/lib/python3.6/site-packages/cffi-1.15.0-py3.6-linux-x86_64.egg/cffi/ffiplatform.py", line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File "/home/wei.li/anaconda3/envs/group_1/lib/python3.6/site-packages/cffi-1.15.0-py3.6-linux-x86_64.egg/cffi/ffiplatform.py", line 58, in _build
raise VerificationError('%s: %s' % (e.class.name, e))
cffi.VerificationError: LinkError: command 'gcc' failed with exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions