-
Notifications
You must be signed in to change notification settings - Fork 2.5k
build error: error: command 'gcc' failed with exit status 1 #567
Comments
This is normal, there have been some changes in PyTorch recently, please refer to this thread. Basically, you've got to install a nightly version of PyTorch. In the official website you have some instructions on how to install a nightly version. |
@LeviViana ok, thanks a lot, I'm trying to install pytorch-nightly. |
I installed pytorch-nightly, and maskrcnn-benchmark can be successfully installed now. close this issue. |
Since the original error was pasted in an image, it was hard for me to find it via google. I am reposting it here with a temporary solution.
In my case, using a nightly version isn't ideal, since I am using this inside a container for other projects and would like to avoid switching to the nightly build if possible for the time being. The only temporary workaround I can suggest for now is checking out master before the change was introduced, which at the time of writing this post was only a few days ago. This is not an ideal long-term solution. To checkout
which is the last commit before the change that requires the nightly pytorch build. You should then be able to compile as expected. |
❓ Questions and Help
hi, all, I'm building the latest maskrcnn version and encountered the problem as follows:
I'm using python3.6.6, pytorch1.0.0, gcc/g++ 5.4,
ps. I can successfully build the version downloaded two weeks ago, it's weird. what happened to the new version?
The text was updated successfully, but these errors were encountered: