SPTM icon indicating copy to clipboard operation
SPTM copied to clipboard

Fail to run setup.py in SPTM folder at the step installing ViZDoom.

Open BUPT-zeld151 opened this issue 3 years ago • 1 comments

I faced this problem multiple times, reinstalling my operating system is useless. The terminal gave error information as:

subprocess.CalledProcessError: Command '['make', '-j', '15']' returned non-zero exit status 2

----------------------------------------

Command "/home/fzh/anaconda2/envs/sptm/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-nF1IP4/vizdoom/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-6yOgem-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-nF1IP4/vizdoom/

My device runs ubuntu18.04 with RTX3060, and I installed CUDA11.5+CUDNN8.2.4. However I noticed that SPTM's anaconda2 enviornment equips CUDA much earlier that my RTX3060 does not support(RTX3060 only supports CUDA later than 11.0 according to official document). Under the base environment I cannot install ViZDoom via pip, but can build it from souce code. However, under the anaconda2 enviornment sptm given by setup.sh in SPTM folder I can neither build ViZDoom from source code nor install it via pip or pip3. I would be appreciate if you can solve this problem for me T_T.

BUPT-zeld151 avatar Nov 18 '21 10:11 BUPT-zeld151

If you need complete error report from terminal I can paste it later. It's a little bit long so I paste the last conclusion only.

BUPT-zeld151 avatar Nov 18 '21 10:11 BUPT-zeld151