python安装torch_求助:python安装torch失败

C:\Users\Administrator>pip install torch

Collecting torch

Using cached https://files.pythonhosted.org/packages/f8/02/880b468bd382dc79896eaecbeb8ce95e9c4b99a24902874a2cef0b562cea/torch-0.1.2.post2.tar.gz

Requirement already satisfied: pyyaml in d:\python37\lib\site-packages (from torch) (5.3)

Building wheels for collected packages: torch

Building wheel for torch (setup.py) ... error

ERROR: Command errored out with exit status 1:

command: 'd:\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-4vdtm_vp\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-install-4vdtm_vp\\torch\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ADMINI~1\AppData\Local\Temp\pip-wheel-dkb06zob' --python-tag cp37

cwd: C:\Users\ADMINI~1\AppData\Local\Temp\pip-install-4vdtm_vp\torch\

Complete output (30 lines):

running bdist_wheel

running build

running build_deps

Traceback (most recent call last):

File "", line 1, in

你可能感兴趣的:(python安装torch)