错误:
PS D:\Bringing-Old-Photos-Back-to-Life-master> pip install torch -i https://pypi.douban.com/simple
Looking in indexes: https://pypi.douban.com/simple
Collecting torch
Downloading https://pypi.doubanio.com/packages/f8/02/880b468bd382dc79896eaecbeb8ce95e9c4b99a24902874a2cef0b562cea/torch-0.1.2.post2.tar.gz (128 kB)
|████████████████████████████████| 128 kB 6.8 MB/s
Requirement already satisfied: pyyaml in d:\python\python38\lib\site-packages (from torch) (5.3.1)
Building wheels for collected packages: torch
Building wheel for torch (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'd:\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\wgy\\AppData\\Local\\Temp\\pip-install-ka8hl0kf\\torch_aa4d618336794de9ac94591e9e350e71\\setup.py'"'"'; __file__='"'"'C:\\Users\\wgy\\AppData\\Local\\Temp\\pip-install-ka8hl0kf\\torch_aa4d618336794de9ac94591e9e350e71\\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\wgy\AppData\Local\Temp\pip-wheel-0fq1ocxu'
cwd: C:\Users\wgy\AppData\Local\Temp\pip-install-ka8hl0kf\torch_aa4d618336794de9ac94591e9e350e71\
Complete output (30 lines):
running bdist_wheel
running build
running build_deps
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\wgy\AppData\Local\Temp\pip-install-ka8hl0kf\torch_aa4d618336794de9ac94591e9e350e71\setup.py"