Python Pip不';他说,它不能制造轮子
我在网上寻找解决方案,但没有找到 我有一台新电脑,这是我拥有的第一台台式电脑,我需要为一个高中项目安装python和pip以及所有这些东西,但在安装PyTorch和我需要的其他软件包时,我遇到了以下错误:Python Pip不';他说,它不能制造轮子,python,windows,pip,Python,Windows,Pip,我在网上寻找解决方案,但没有找到 我有一台新电脑,这是我拥有的第一台台式电脑,我需要为一个高中项目安装python和pip以及所有这些东西,但在安装PyTorch和我需要的其他软件包时,我遇到了以下错误: C:\Users\Owlsoul>pip3 install torch Defaulting to user installation because normal site-packages is not writeable Collecting torch Using cache
C:\Users\Owlsoul>pip3 install torch
Defaulting to user installation because normal site-packages is not writeable
Collecting torch
Using cached torch-0.1.2.post2.tar.gz (128 kB)
Collecting pyyaml
Using cached PyYAML-5.3.1.tar.gz (269 kB)
Building wheels for collected packages: torch, pyyaml
Building wheel for torch (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\program files\inkscape\bin\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\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\Owlsoul\AppData\Local\Temp\pip-wheel-kmaghkld'
cwd: C:\Users\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\torch\
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\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\torch\setup.py", line 225, in <module>
setup(name="torch", version="0.1.2.post2",
File "C:\Users\Owlsoul\.local\lib\python3.8\site-packages\setuptools\__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "C:\program files\inkscape\lib\python3.8\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Owlsoul\.local\lib\python3.8\site-packages\wheel\bdist_wheel.py", line 290, in run
self.run_command('build')
File "C:\program files\inkscape\lib\python3.8\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\program files\inkscape\lib\python3.8\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\program files\inkscape\lib\python3.8\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\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: 'c:\program files\inkscape\bin\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\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\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\torch
Complete output (2 lines):
running clean
error: [Errno 2] No such file or directory: '.gitignore'
----------------------------------------
ERROR: Failed cleaning build dir for torch
Building wheel for pyyaml (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\program files\inkscape\bin\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\pyyaml\\setup.py'"'"'; __file__='"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\pyyaml\\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\Owlsoul\AppData\Local\Temp\pip-wheel-nztx1z7u'
cwd: C:\Users\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\pyyaml\
Complete output (59 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.mingw-3.8
creating build\lib.mingw-3.8\yaml
copying lib3\yaml\composer.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\constructor.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\cyaml.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\dumper.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\emitter.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\error.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\events.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\loader.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\nodes.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\parser.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\reader.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\representer.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\resolver.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\scanner.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\serializer.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\tokens.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\__init__.py -> build\lib.mingw-3.8\yaml
running build_ext
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\pyyaml\setup.py", line 291, in <module>
setup(
File "C:\program files\inkscape\lib\python3.8\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Owlsoul\.local\lib\python3.8\site-packages\wheel\bdist_wheel.py", line 290, in run
self.run_command('build')
File "C:\program files\inkscape\lib\python3.8\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\program files\inkscape\lib\python3.8\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\program files\inkscape\lib\python3.8\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\pyyaml\setup.py", line 185, in run
_build_ext.run(self)
File "C:\program files\inkscape\lib\python3.8\distutils\command\build_ext.py", line 307, in run
self.compiler = new_compiler(compiler=self.compiler,
File "C:\program files\inkscape\lib\python3.8\distutils\ccompiler.py", line 1034, in new_compiler
return klass(None, dry_run, force)
File "C:\program files\inkscape\lib\python3.8\distutils\cygwinccompiler.py", line 310, in __init__
CygwinCCompiler.__init__ (self, verbose, dry_run, force)
File "C:\program files\inkscape\lib\python3.8\distutils\cygwinccompiler.py", line 127, in __init__
if self.ld_version >= "2.10.90":
TypeError: '>=' not supported between instances of 'NoneType' and 'str'
----------------------------------------
ERROR: Failed building wheel for pyyaml
Running setup.py clean for pyyaml
Failed to build torch pyyaml
Installing collected packages: pyyaml, torch
Running setup.py install for pyyaml ... error
ERROR: Command errored out with exit status 1:
command: 'c:\program files\inkscape\bin\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\pyyaml\\setup.py'"'"'; __file__='"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\pyyaml\\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\Owlsoul\AppData\Local\Temp\pip-record-v7hld7x2\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\Owlsoul\.local\include\python3.8\pyyaml'
cwd: C:\Users\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\pyyaml\
Complete output (61 lines):
running install
running build
running build_py
creating build
creating build\lib.mingw-3.8
creating build\lib.mingw-3.8\yaml
copying lib3\yaml\composer.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\constructor.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\cyaml.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\dumper.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\emitter.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\error.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\events.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\loader.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\nodes.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\parser.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\reader.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\representer.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\resolver.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\scanner.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\serializer.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\tokens.py -> build\lib.mingw-3.8\yaml
copying lib3\yaml\__init__.py -> build\lib.mingw-3.8\yaml
running build_ext
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\pyyaml\setup.py", line 291, in <module>
setup(
File "C:\program files\inkscape\lib\python3.8\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Owlsoul\.local\lib\python3.8\site-packages\setuptools\command\install.py", line 61, in run
return orig.install.run(self)
File "C:\program files\inkscape\lib\python3.8\distutils\command\install.py", line 546, in run
self.run_command('build')
File "C:\program files\inkscape\lib\python3.8\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\program files\inkscape\lib\python3.8\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "C:\program files\inkscape\lib\python3.8\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\program files\inkscape\lib\python3.8\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\pyyaml\setup.py", line 185, in run
_build_ext.run(self)
File "C:\program files\inkscape\lib\python3.8\distutils\command\build_ext.py", line 307, in run
self.compiler = new_compiler(compiler=self.compiler,
File "C:\program files\inkscape\lib\python3.8\distutils\ccompiler.py", line 1034, in new_compiler
return klass(None, dry_run, force)
File "C:\program files\inkscape\lib\python3.8\distutils\cygwinccompiler.py", line 310, in __init__
CygwinCCompiler.__init__ (self, verbose, dry_run, force)
File "C:\program files\inkscape\lib\python3.8\distutils\cygwinccompiler.py", line 127, in __init__
if self.ld_version >= "2.10.90":
TypeError: '>=' not supported between instances of 'NoneType' and 'str'
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\program files\inkscape\bin\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\pyyaml\\setup.py'"'"'; __file__='"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\pyyaml\\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\Owlsoul\AppData\Local\Temp\pip-record-v7hld7x2\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\Owlsoul\.local\include\python3.8\pyyaml' Check the logs for full command output.
C:\Users\owlsoull>pip3安装火炬
默认为用户安装,因为普通站点包不可写
收集火炬
使用缓存的torch-0.1.2.post2.tar.gz(128 kB)
采集pyyaml
使用缓存的PyYAML-5.3.1.tar.gz(269KB)
为收集的包裹构建轮子:火炬、皮亚姆
为火炬建造轮子(setup.py)。。。错误
错误:命令出错,退出状态为1:
命令:“c:\ProgramFiles\inkscape\bin\python.exe'-u-c'导入sys、setuptools、tokenize;sys.argv[0]=“C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\torch\\setup.py”“”__文件“'''''C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\torch\\setup.py''”;f=getattr(标记化,“'open'”,open)(\uuuuu文件);code=f.read().replace(“\r\n”“”、“\n”“”);f、 close();exec(编译(代码,“文件”,“exec”))“bdist\u wheel-d'C:\Users\Owlsoul\AppData\Local\Temp\pip wheel kmaghkld”
cwd:C:\Users\owlsoull\AppData\Local\Temp\pip-install-hw6a8m3j\torch\
完整输出(30行):
运转的车轮
运行构建
运行build_deps
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“C:\Users\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\torch\setup.py”,第225行,在
设置(name=“torch”,version=“0.1.2.post2”,
文件“C:\Users\Owlsoul\.local\lib\python3.8\site packages\setuptools\\uuuu init\uuuu.py”,第153行,在安装程序中
返回distutils.core.setup(**attrs)
文件“C:\program files\inkscape\lib\python3.8\distutils\core.py”,第148行,在安装程序中
dist.run_命令()
文件“C:\program files\inkscape\lib\python3.8\distutils\dist.py”,第966行,在run\u命令中
self.run_命令(cmd)
文件“C:\program files\inkscape\lib\python3.8\distutils\dist.py”,第985行,在run\u命令中
cmd_obj.run()
文件“C:\Users\Owlsoul\.local\lib\python3.8\site packages\wheel\bdist\u wheel.py”,第290行,正在运行
self.run_命令('build'))
文件“C:\program files\inkscape\lib\python3.8\distutils\cmd.py”,第313行,在run\u命令中
self.distribution.run_命令(command)
文件“C:\program files\inkscape\lib\python3.8\distutils\dist.py”,第985行,在run\u命令中
cmd_obj.run()
文件“C:\program files\inkscape\lib\python3.8\distutils\command\build.py”,第135行,正在运行
self.run_命令(cmd_名称)
文件“C:\program files\inkscape\lib\python3.8\distutils\cmd.py”,第313行,在run\u命令中
self.distribution.run_命令(command)
文件“C:\program files\inkscape\lib\python3.8\distutils\dist.py”,第985行,在run\u命令中
cmd_obj.run()
文件“C:\Users\Owlsoul\AppData\Local\Temp\pip-install-hw6a8m3j\torch\setup.py”,第51行,正在运行
从tools.nnwrap导入生成包装作为生成包装
ModuleNotFoundError:没有名为“tools.nnwrap”的模块
----------------------------------------
错误:为火炬构建控制盘失败
为火炬运行setup.py clean
错误:命令出错,退出状态为1:
命令:“c:\program files\inkscape\bin\python.exe'-u-c'import sys,setuptools,tokenize;sys.argv[0]='”““'c:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\torch\\setup.py'””;“u文件”'''c:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\torch\\setup.py''”;f=getattr(tokenize''open''''''open'”)”('uu文件);code=f.read().replace(“''\r\n''”,“\n''”);f.close();exec(compile(code,_u文件,“''exec'))”clean--all
cwd:C:\Users\owlsoull\AppData\Local\Temp\pip-install-hw6a8m3j\torch
完整输出(2行):
干净利落
错误:[Errno 2]没有这样的文件或目录:'.gitignore'
----------------------------------------
错误:无法清除torch的生成目录
正在为pyyaml生成控制盘(setup.py)…错误
错误:命令出错,退出状态为1:
命令:“c:\program files\inkscape\bin\python.exe'-u-c'import sys,setuptools,tokenize;sys.argv[0]='”““'c:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\pyyaml\\setup.py''”;“uuu文件”'''''''''c:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-hw6a8m3j\\pyyaml\\setup.py'''”””;f=getattr(tokenize),“open'''''''''''''''''''''''''''''open;code=f.read().replace(““”\r\n“”,“\n“”);f.close();exec(compile(code),“file”;“exec”))“bdist_wheel-d'C:\Users\Owlsoul\AppData\Local\Temp\pip-wheel-nztx1z7u”
cwd:C:\Users\owlsoull\AppData\Local\Temp\pip-install-hw6a8m3j\pyyaml\
完整输出(59行):
运转的车轮
运行构建
运行build\u py
创建构建
正在创建build\lib.mingw-3.8
正在创建build\lib.mingw-3.8\yaml
正在复制lib3\yaml\composer.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\constructor.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\cyaml.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\dumper.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\emitter.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\error.py->build\lib.mingw-3.8\yaml
复制lib3\yaml\events.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\loader.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\nodes.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\parser.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\reader.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\representer.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\resolver.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\scanner.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\serializer.py->build\lib.mingw-3.8\yaml
复制lib3\yaml\tokens.py->build\lib.mingw-3.8\yaml
正在复制lib3\yaml\\uuuu init\uuuu.py->build\lib.mingw-3.8\yaml
运行build_ext
“gcc”不被视为一个国际通用术语
C:\Users\Owlsoul>pip install torch
Defaulting to user installation because normal site-packages is not writeable
Collecting torch
Using cached torch-0.1.2.post2.tar.gz (128 kB)
Requirement already satisfied: pyyaml in c:\users\owlsoul\appdata\roaming\python\python38\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: 'c:\program files (x86)\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-jio16_76\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-jio16_76\\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\Owlsoul\AppData\Local\Temp\pip-wheel-iuye_5re'
cwd: C:\Users\Owlsoul\AppData\Local\Temp\pip-install-jio16_76\torch\
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\Owlsoul\AppData\Local\Temp\pip-install-jio16_76\torch\setup.py", line 225, in <module>
setup(name="torch", version="0.1.2.post2",
File "c:\program files (x86)\python38-32\lib\site-packages\setuptools\__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "c:\program files (x86)\python38-32\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\program files (x86)\python38-32\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\program files (x86)\python38-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Owlsoul\AppData\Roaming\Python\Python38\site-packages\wheel\bdist_wheel.py", line 290, in run
self.run_command('build')
File "c:\program files (x86)\python38-32\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\program files (x86)\python38-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\program files (x86)\python38-32\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "c:\program files (x86)\python38-32\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\program files (x86)\python38-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Owlsoul\AppData\Local\Temp\pip-install-jio16_76\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: 'c:\program files (x86)\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-jio16_76\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-jio16_76\\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\Owlsoul\AppData\Local\Temp\pip-install-jio16_76\torch
Complete output (2 lines):
running clean
error: [Errno 2] No such file or directory: '.gitignore'
----------------------------------------
ERROR: Failed cleaning build dir for torch
Failed to build torch
Installing collected packages: torch
Running setup.py install for torch ... error
ERROR: Command errored out with exit status 1:
command: 'c:\program files (x86)\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-jio16_76\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-jio16_76\\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\Owlsoul\AppData\Local\Temp\pip-record-z9idl5pc\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\Owlsoul\AppData\Roaming\Python\Python38\Include\torch'
cwd: C:\Users\Owlsoul\AppData\Local\Temp\pip-install-jio16_76\torch\
Complete output (23 lines):
running install
running build_deps
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Owlsoul\AppData\Local\Temp\pip-install-jio16_76\torch\setup.py", line 225, in <module>
setup(name="torch", version="0.1.2.post2",
File "c:\program files (x86)\python38-32\lib\site-packages\setuptools\__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "c:\program files (x86)\python38-32\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\program files (x86)\python38-32\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\program files (x86)\python38-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Owlsoul\AppData\Local\Temp\pip-install-jio16_76\torch\setup.py", line 99, in run
self.run_command('build_deps')
File "c:\program files (x86)\python38-32\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\program files (x86)\python38-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Owlsoul\AppData\Local\Temp\pip-install-jio16_76\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 (x86)\python38-32\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-jio16_76\\torch\\setup.py'"'"'; __file__='"'"'C:\\Users\\Owlsoul\\AppData\\Local\\Temp\\pip-install-jio16_76\\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\Owlsoul\AppData\Local\Temp\pip-record-z9idl5pc\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\Owlsoul\AppData\Roaming\Python\Python38\Include\torch' Check the logs for full command output.