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

torchsearchsorted installation error #190

Open
Justinfungi opened this issue Jan 25, 2023 · 1 comment
Open

torchsearchsorted installation error #190

Justinfungi opened this issue Jan 25, 2023 · 1 comment

Comments

@Justinfungi
Copy link

Describe the bug
cd torchsearchsorted pip install .
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/wk1user2/anaconda3/envs/nerf_pl/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/wk1user2/3D/nerf_pl/nerf_pl/torchsearchsorted/setup.py'"'"'; file='"'"'/home/wk1user2/3D/nerf_pl/nerf_pl/torchsearchsorted/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-igtsh1pb/install-record.txt --single-version-externally-managed --compile --install-headers /home/wk1user2/anaconda3/envs/nerf_pl/include/python3.6m/torchsearchsorted Check the logs for full command output.

image

it seems that Cause of “Error Command “gcc” Failed With Exit Status 1”
This type of error occurs when you attempt to compile and install the python library that depends on a C compiler

Does anyone know how to solve this issue

@yangqing-yq
Copy link

same issue, on 3090ti

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