Error installing pytorch via pip

Running setup.py install for torch … error
Complete output from command c:\python27\python.exe -u -c “import setuptools, tokenize;file=‘c:\users\oriko\appdata\local\temp\pip-install-xkasnp\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\oriko\appdata\local\temp\pip-record-cqwvhb\install-record.txt --single-version-externally-managed --compile:
running install
running build_deps
Traceback (most recent call last):
File “”, line 1, in
File “c:\users\oriko\appdata\local\temp\pip-install-xkasnp\torch\setup.py”, line 265, in
description=“Tensors and Dynamic neural networks in Python with strong GPU acceleration”,
File “c:\python27\lib\site-packages\setuptools_init_.py”, line 143, in setup
return distutils.core.setup(**attrs)
File “c:\python27\lib\distutils\core.py”, line 151, in setup
dist.run_commands()
File “c:\python27\lib\distutils\dist.py”, line 953, in run_commands
self.run_command(cmd)
File “c:\python27\lib\distutils\dist.py”, line 972, in run_command
cmd_obj.run()
File “c:\users\oriko\appdata\local\temp\pip-install-xkasnp\torch\setup.py”, line 99, in run
self.run_command(‘build_deps’)
File “c:\python27\lib\distutils\cmd.py”, line 326, in run_command
self.distribution.run_command(command)
File “c:\python27\lib\distutils\dist.py”, line 972, in run_command
cmd_obj.run()
File “c:\users\oriko\appdata\local\temp\pip-install-xkasnp\torch\setup.py”, line 51, in run
from tools.nnwrap import generate_wrappers as generate_nn_wrappers
ImportError: No module named nnwrap

----------------------------------------

Command “c:\python27\python.exe -u -c “import setuptools, tokenize;file=‘c:\users\oriko\appdata\local\temp\pip-install-xkasnp\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\oriko\appdata\local\temp\pip-record-cqwvhb\install-record.txt --single-version-externally-managed --compile” failed with error code 1 in c:\users\oriko\appdata\local\temp\pip-install-xkasnp\torch\