nerf_pl
nerf_pl copied to clipboard
torchsearchsorted installation error
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.
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
same issue, on 3090ti