Issue 1:
❓ Questions and Help

Please note that this issue tracker is not a help form and this issue will be closed.

We have a set of listed resources available on the website. Our primary means of support is our discussion forum:

Discussion Forum

Issue 2:
🐛 Bug

Trying to install torch results in a python error.

To Reproduce

Steps to reproduce the behavior:

Install Python (python-3.8.0-amd64.exe)

run pip install numpy

run pip install torch torchvision -f https://download.pytorch.org/whl/torch_stable.html

Expected behavior

Pytorch gets installed

Environment

C:\Windows\system32>python C:\temp\collect_env.py
Collecting environment information...
PyTorch version: N/A
Is debug build: N/A
CUDA used to build PyTorch: N/A
OS: Microsoft Windows 10 Home
GCC version: (GCC) 4.6.1
CMake version: Could not collect
Python version: 3.8
Is CUDA available: N/A
CUDA runtime version: Could not collect
GPU models and configuration: GPU 0: GeForce GTX 980 Ti
Nvidia driver version: 430.86
cuDNN version: Could not collect
Versions of relevant libraries:
[pip3] numpy==1.17.3
[conda] Could not collect

Additional context

Full console output:

C:\Windows\system32>pip install torch torchvision -f https://download.pytorch.org/whl/torch_stable.html
Looking in links: https://download.pytorch.org/whl/torch_stable.html
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
Collecting pyyaml
Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB)
|████████████████████████████████| 266kB 1.3MB/s
Collecting six
Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Requirement already satisfied: numpy in c:\program files\python38\lib\site-packages (from torchvision) (1.17.3)
Collecting pillow>=4.1.1
Downloading https://files.pythonhosted.org/packages/b6/5a/ee223b0503ebba3d6adcf24516cbae85d581058f2bac635fc82e4bd6c2bf/Pillow-6.2.1-cp38-cp38-win_amd64.whl (2.0MB)
|████████████████████████████████| 2.0MB 6.4MB/s
Installing collected packages: pyyaml, torch, six, pillow, torchvision
Running setup.py install for pyyaml ... done
Running setup.py install for torch ... error
ERROR: Command errored out with exit status 1:
command: 'c:\program files\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\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\Tyler\AppData\Local\Temp\pip-record-72uhhcea\install-record.txt' --single-version-externally-managed --compile
cwd: C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\torch\
Complete output (23 lines):
running install
running build_deps
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\torch\setup.py", line 225, in <module>
setup(name="torch", version="0.1.2.post2",
File "c:\program files\python38\lib\site-packages\setuptools\__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "c:\program files\python38\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\program files\python38\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\program files\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\torch\setup.py", line 99, in run
self.run_command('build_deps')
File "c:\program files\python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\program files\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Tyler\AppData\Local\Temp\pip-install-qo2q0sjc\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:\program files\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\Tyler\\AppData\\Local\\Temp\\pip-install-qo2q0sjc\\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\Tyler\AppData\Local\Temp\pip-record-72uhhcea\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.

cc @ezyang @gchanan @zou3519