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

"python setup.py install" error: command '/usr/bin/gcc' failed with exit code 1 #99

Open
Schwein3211 opened this issue Aug 29, 2022 · 1 comment

Comments

@Schwein3211
Copy link

when i run the "python setup.py install", i comes the Error as follows:

src/binding.cpp:8:14: fatal error:THC.h”: No such file or directory
#include "THC.h"
^~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1

what can i do?

@jaesong
Copy link
Contributor

jaesong commented Aug 29, 2022

THC has been removed from PyTorch 1.11. See b-flo#2 for the patch.

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