tamarott / SinGAN

Official pytorch implementation of the paper: "SinGAN: Learning a Generative Model from a Single Natural Image"
https://tamarott.github.io/SinGAN.htm
Other
3.31k stars 611 forks source link

"ERROR: Command errored out with exit status 1" after running "python -m pip install -r requirements.txt" #83

Open azumukupoe opened 4 years ago

azumukupoe commented 4 years ago

`ERROR: Command errored out with exit status 1: command: 'C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\setup.py'"'"'; file='"'"'C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\azumu\AppData\Local\Temp\pip-record-hw42i1rt\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\Include\torch' cwd: C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\ Complete output (23 lines): running install running build_deps Traceback (most recent call last): File "", line 1, in File "C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\setup.py", line 225, in setup(name="torch", version="0.1.2.post2", File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\site-packages\setuptools__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\setup.py", line 99, in run self.run_command('build_deps') File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\setup.py", line 51, in run from tools.nnwrap import generate_wrappers as generate_nn_wrappers ModuleNotFoundError: No module named 'tools.nnwrap'

ERROR: Command errored out with exit status 1: 'C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\setup.py'"'"'; file='"'"'C:\Users\azumu\AppData\Local\Temp\pip-install-5t4ofxog\torch\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\azumu\AppData\Local\Temp\pip-record-hw42i1rt\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\azumu\AppData\Local\Programs\Python\Python38-32\Include\torch' Check the logs for full command output.`