Skip to content

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

@BUPT-zeld151

Description

@BUPT-zeld151

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions