Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SkyBroY opened this issue Jan 20, 2022 · 0 comments
Open

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

SkyBroY opened this issue Jan 20, 2022 · 0 comments

Comments

@SkyBroY
Copy link

SkyBroY commented Jan 20, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant