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

Unable to install from source code. #5363

Closed
Vawter-001 opened this issue Sep 12, 2024 · 3 comments
Closed

Unable to install from source code. #5363

Vawter-001 opened this issue Sep 12, 2024 · 3 comments
Labels
invalid/unrelated unrelated to this project or invalid type of issues needs-more-info More info is needed to complete the issue

Comments

@Vawter-001
Copy link

I tried to install detectron2 by the following code:
git clone https://github.com/facebookresearch/detectron2.git
cd detectron2
python setup.py install

but I got a error:
gcc: fatal error: Killed signal terminated program cc1plus
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1

What should I do to solve it?

@github-actions github-actions bot added the needs-more-info More info is needed to complete the issue label Sep 12, 2024
Copy link

You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the issue template.
The following information is missing: "Instructions To Reproduce the Issue and Full Logs"; "Your Environment";

Copy link

Requested information was not provided in 7 days, so we're closing this issue.

Please open new issue if information becomes available. Otherwise, use github discussions for free-form discussions.

@github-actions github-actions bot added the invalid/unrelated unrelated to this project or invalid type of issues label Sep 20, 2024
@JacobB33
Copy link

JacobB33 commented Dec 6, 2024

Try making sure your gcc and g++ versions are the same. I had to run this:
sudo apt install gcc-12 g++-12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid/unrelated unrelated to this project or invalid type of issues needs-more-info More info is needed to complete the issue
Projects
None yet
Development

No branches or pull requests

2 participants