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

Are there any requirements for gcc version? #6

Open
GuojingZhao opened this issue Jul 3, 2020 · 3 comments
Open

Are there any requirements for gcc version? #6

GuojingZhao opened this issue Jul 3, 2020 · 3 comments

Comments

@GuojingZhao
Copy link

I complied this project with gcc-4.8. But the errors occurs in nmx-extention==0.0.0.

/media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/lib/python3.7/site-packages/torch/include/ATen/core/dispatch/Dispatcher.h: In member function ‘Return c10::Dispatcher::doCallUnboxed(const c10::DispatchTable&, const c10::LeftRight<ska::flat_hash_map<c10::TensorTypeId, c10::KernelFunction> >&, Args ...) const [with Return = bool; Args = {}]’:
/media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/lib/python3.7/site-packages/torch/include/ATen/core/dispatch/Dispatcher.h:191:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-we5qua6l/setup.py'"'"'; file='"'"'/tmp/pip-req-build-we5qua6l/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-bdv9b78x/install-record.txt --single-version-externally-managed --compile --install-headers /media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/include/site/python3.7/RoIAlign-extension-3D Check the logs for full command output.
Could not install custom extension custom_extensions/roi_align/3D from source due to error:
Command '['/media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/bin/python', '-m', 'pip', 'install', 'custom_extensions/roi_align/3D']' returned non-zero exit status 1.
Trying to install from pre-compiled wheel.
FAILED to install custom extension custom_extensions/roi_align/3D due to Error:

[Errno 2] No such file or directory: 'custom_extensions/roi_align/3D/dist'
removed directory: ‘./build/bdist.linux-x86_64’
removed directory: ‘./build’
removed ‘./dist/RegRCNN-0.0.2-py3.6.egg’
removed ‘./dist/RegRCNN-0.0.2-py3.7.egg’
removed directory: ‘./dist’
removed ‘./RegRCNN.egg-info/SOURCES.txt’
removed ‘./RegRCNN.egg-info/PKG-INFO’
removed ‘./RegRCNN.egg-info/top_level.txt’
removed ‘./RegRCNN.egg-info/requires.txt’
removed ‘./RegRCNN.egg-info/dependency_links.txt’
removed directory: ‘./RegRCNN.egg-info’

@penningavery
Copy link

I also am getting this error (I've tried various gcc versions but am unable to compile custom_extensions). Thanks

@GuojingZhao
Copy link
Author

GuojingZhao commented Aug 6, 2020

I also am getting this error (I've tried various gcc versions but am unable to compile custom_extensions). Thanks
Y solved this problems using gcc 5.4.0 and python 3.7.7.

@penningavery
Copy link

Thank you, will try that.

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

2 participants