nerf_pl icon indicating copy to clipboard operation
nerf_pl copied to clipboard

torchsearchsorted installation error

Open Justinfungi opened this issue 2 years ago • 1 comments

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

Justinfungi avatar Jan 25 '23 07:01 Justinfungi

same issue, on 3090ti

yangqing-yq avatar Oct 03 '23 05:10 yangqing-yq