该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
报错看不太清,再更新一下
ERROR: Command errored out with exit status 1:
command: 'd:\软件\python3.8\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\XiAolONg\\AppData\\Local\\Temp\\pip-install-yxjm4xzs\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\XiAolONg\\AppData\\Local\\Temp\\pip-install-yxjm4xzs\\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\XiAolONg\AppData\Local\Temp\pip-wheel-4b_d0bi7' --python-tag cp38
cwd: C:\Users\XiAolONg\AppData\Local\Temp\pip-install-yxjm4xzs\torch\
Complete output (30 lines):
running bdist_wheel
running build
running build_deps
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\XiAolONg\AppData\Local\Temp\pip-install-yxjm4xzs\torch\setup.py", line 225, in
setup(name="torch", version="0.1.2.post2",
File "d:\软件\python3.8\lib\site-packages\setuptools\__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "d:\软件\python3.8\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "d:\软件\python3.8\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "d:\软件\python3.8\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "d:\软件\python3.8\lib\site-packages\wheel\bdist_wheel.py", line 192, in run
self.run_command('build')
File "d:\软件\python3.8\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "d:\软件\python3.8\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "d:\软件\python3.8\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "d:\软件\python3.8\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "d:\软件\python3.8\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\XiAolONg\AppData\Local\Temp\pip-install-yxjm4xzs\torch\setup.py", line 51, in run
from tools.nnwrap import generate_wrappers as generate_nn_wrappers
ModuleNotFoundError: No module named 'tools.nnwrap'
----------------------------------------
ERROR: Failed building wheel for torch
Running setup.py clean for torch
ERROR: Command errored out with exit status 1:
command: 'd:\软件\python3.8\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\XiAolONg\\AppData\\Local\\Temp\\pip-install-yxjm4xzs\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\XiAolONg\\AppData\\Local\\Temp\\pip-install-yxjm4xzs\\torch\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
cwd: C:\Users\XiAolONg\AppData\Local\Temp\pip-install-yxjm4xzs\torch
Complete output (2 lines):
running clean
error: [Errno 2] No such file or directory: '.gitignore'
----------------------------------------
ERROR: Failed cleaning build dir for torch