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

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

Open
BUPT-zeld151 opened this issue Nov 18, 2021 · 1 comment

Comments

@BUPT-zeld151
Copy link

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
Copy link
Author

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.

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

1 participant