Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Collecting torch
- Using cached https://files.pythonhosted.org/packages/f8/02/880b468bd382dc79896eaecbeb8ce95e9c4b99a24902874a2cef0b562cea/torch-0.1.2.post2.tar.gz
- Collecting torchvision
- Using cached https://files.pythonhosted.org/packages/fb/01/03fd7e503c16b3dc262483e5555ad40974ab5da8b9879e164b56c1f4ef6f/torchvision-0.2.2.post3-py2.py3-none-any.whl
- Requirement already satisfied: pyyaml in c:\users\xxxx\appdata\local\programs\python\python37-32\lib\site-packages (from torch) (5.2)
- Collecting pillow>=4.1.1
- Using cached https://files.pythonhosted.org/packages/4b/88/0a35f7ae1e436309a97c92fec81c1ab7d70b4a0646f39b420cbcecfb2de6/Pillow-6.2.1-cp37-cp37m-win32.whl
- Collecting six
- Using cached https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl
- Requirement already satisfied: numpy in c:\users\xxxx\appdata\local\programs\python\python37-32\lib\site-packages (from torchvision) (1.17.4)
- Installing collected packages: torch, pillow, six, torchvision
- Running setup.py install for torch ... error
- ERROR: Command errored out with exit status 1:
- command: 'c:\users\xxxx\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\xxxx\\AppData\\Local\\Temp\\pip-install-iqv0q1wh\\torch\\setup.py'"'"';__file__='"'"'C:\\Users\\xxxx\\AppData\\Local\\Temp\\pip-install-iqv0q1wh\\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\xxxx\AppData\Local\Temp\pip-record-f2bjtisi\install-record.txt' --single-version-externally-managed --compile
- cwd: C:\Users\xxxx\AppData\Local\Temp\pip-install-iqv0q1wh\torch\
- Complete output (23 lines):
- running install
- running build_deps
- Traceback (most recent call last):
- File "<string>", line 1, in <module>
- File "C:\Users\xxxx\AppData\Local\Temp\pip-install-iqv0q1wh\torch\setup.py", line 265, in <module>
- description="Tensors and Dynamic neural networks in Python with strong GPU acceleration",
- File "c:\users\xxxx\appdata\local\programs\python\python37-32\lib\site-packages\setuptools\__init__.py", line 145, in setup
- return distutils.core.setup(**attrs)
- File "c:\users\xxxx\appdata\local\programs\python\python37-32\lib\distutils\core.py", line 148, in setup
- dist.run_commands()
- File "c:\users\xxxx\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 966, in run_commands
- self.run_command(cmd)
- File "c:\users\xxxx\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 985, in run_command
- cmd_obj.run()
- File "C:\Users\xxxx\AppData\Local\Temp\pip-install-iqv0q1wh\torch\setup.py", line 99, in run
- self.run_command('build_deps')
- File "c:\users\xxxx\appdata\local\programs\python\python37-32\lib\distutils\cmd.py", line 313, in run_command
- self.distribution.run_command(command)
- File "c:\users\xxxx\appdata\local\programs\python\python37-32\lib\distutils\dist.py", line 985, in run_command
- cmd_obj.run()
- File "C:\Users\xxxx\AppData\Local\Temp\pip-install-iqv0q1wh\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\xxxx\appdata\local\programs\python\python37-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\xxxx\\AppData\\Local\\Temp\\pip-install-iqv0q1wh\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\xxxx\\AppData\\Local\\Temp\\pip-install-iqv0q1wh\\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\xxxx\AppData\Local\Temp\pip-record-f2bjtisi\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.
Advertisement
Add Comment
Please, Sign In to add comment