XingangPan / GAN2Shape

Code for GAN2Shape (ICLR2021 oral)
https://arxiv.org/abs/2011.00844
MIT License
571 stars 104 forks source link

Not able to install neural_renderer #201

Open gargijoshii opened 2 months ago

gargijoshii commented 2 months ago

pip install git+https://github.com/daniilidis-group/neural_renderer.git Collecting git+https://github.com/daniilidis-group/neural_renderer.git Cloning https://github.com/daniilidis-group/neural_renderer.git to c:\users\gargij~1\appdata\local\temp\pip-req-build-lza236t5 Running command git clone -q https://github.com/daniilidis-group/neural_renderer.git 'C:\Users\GARGIJ~1\AppData\Local\Temp\pip-req-build-lza236t5' Resolved https://github.com/daniilidis-group/neural_renderer.git to commit b2a1e6ce16a54f94f26f86fe1dc3814637e15251 ERROR: Command errored out with exit status 1: command: 'C:\Apps\anaconda\envs\gan_env\python.exe' -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\GARGIJ~1\AppData\Local\Temp\pip-req-build-lza236t5\setup.py'"'"'; file='"'"'C:\Users\GARGIJ~1\AppData\Local\Temp\pip-req-build-lza236t5\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'"'"'))' egginfo --egg-base 'C:\Users\GARGIJ~1\AppData\Local\Temp\pip-pip-egg-info-jd21ab5' cwd: C:\Users\GARGIJ~1\AppData\Local\Temp\pip-req-build-lza236t5\ Complete output (5 lines): Traceback (most recent call last): File "", line 1, in File "C:\Users\GARGIJ~1\AppData\Local\Temp\pip-req-build-lza236t5\setup.py", line 4, in from torch.utils.cpp_extension import BuildExtension, CUDAExtension ModuleNotFoundError: No module named 'torch'

WARNING: Discarding git+https://github.com/daniilidis-group/neural_renderer.git. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.