【发布时间】:2022-12-03 11:49:33
【问题描述】:
收集hunspell
使用缓存的 hunspell-0.5.5.tar.gz (34 kB)
为收集的包裹建造轮子:hunspell
hunspell (setup.py) 的构建轮...错误
错误:命令出错,退出状态为 1:
命令:'C:\Users\shikhar\AppData\Local\Programs\Python\Python310\python.exe' -u -c '导入 io、os、sys、setuptools、tokenize; sys.argv[0] = '"'"'C:\Users\shikhar\AppData\Local\Temp\pip-install-gur9qi9n\hunspell_590196089ad44370bc048a58cf3d40dd\setup.py'"'"';文件='"'"'C:\Users\shikhar\AppData\Local\Temp\pip-install-gur9qi9n\hunspell_590196089ad44370bc048a58cf3d40dd\setup.py'"'"';f = getattr(tokenize, '"'"'open'" '“', 打开)(文件) 如果 os.path.exists(文件) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"' , '"'"'\n'"'"');f.close();exec(编译(代码,文件, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\shikhar\AppData\Local\Temp\pip-wheel-5grngp_q'
cwd: C:\Users\shikhar\AppData\Local\Temp\pip-install-gur9qi9n\hunspell_590196089ad44370bc048a58cf3d40dd
完整输出(12 行):
运行 bdist_wheel
运行构建
运行 build_ext
构建“hunspell”扩展
创建构建
创建 build\temp.win-amd64-3.10
创建 build\temp.win-amd64-3.10\Release
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHUNSPELL_STATIC -IV:/hunspell-1.3.3/src/hunspell -IC:\Users\shikhar\AppData\Local\Programs\Python\Python310\include -IC:\Users\shikhar\AppData\Local\Programs\Python\ Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0 .17763.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um -IC :\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt /EHsc /Tphunspell.cpp /Fobuild \temp.win-amd64-3.10\Release\hunspell.obj /MT
cl:命令行警告 D9025:用“/MT”覆盖“/MD”
hunspell.cpp文件
hunspell.cpp(20): 致命错误 C1083: 无法打开包含文件: 'hunspell.hxx': 没有这样的文件或目录
错误:命令“C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe”失败,退出代码为 2
错误:hunspell 的构建轮失败
为 hunspell 运行 setup.py clean
构建 hunspell 失败
安装收集的包:hunspell
为 hunspell 运行 setup.py install ... 错误
错误:命令出错,退出状态为 1:
命令:'C:\Users\shikhar\AppData\Local\Programs\Python\Python310\python.exe' -u -c '导入 io、os、sys、setuptools、tokenize; sys.argv[0] = '"'"'C:\Users\shikhar\AppData\Local\Temp\pip-install-gur9qi9n\hunspell_590196089ad44370bc048a58cf3d40dd\setup.py'"'"';文件='"'"'C:\Users\shikhar\AppData\Local\Temp\pip-install-gur9qi9n\hunspell_590196089ad44370bc048a58cf3d40dd\setup.py'"'"';f = getattr(tokenize, '"'"'open'" '“', 打开)(文件) 如果 os.path.exists(文件) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"' , '"'"'\n'"'"');f.close();exec(编译(代码,文件, '"'"'exec'"'"'))' install --record 'C:\Users\shikhar\AppData\Local\Temp\pip-record-clyqesxf\install-record.txt' --single-version -外部管理--编译--安装头 'C:\Users\shikhar\AppData\Local\Programs\Python\Python310\Include\hunspell'
cwd: C:\Users\shikhar\AppData\Local\Temp\pip-install-gur9qi9n\hunspell_590196089ad44370bc048a58cf3d40dd
完整输出(12 行):
运行安装
运行构建
运行 build_ext
构建“hunspell”扩展
创建构建
创建 build\temp.win-amd64-3.10
创建 build\temp.win-amd64-3.10\Release
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DHUNSPELL_STATIC
-IV:/hunspell-1.3.3/src/hunspell -IC:\Users\shikhar\AppData\Local\Programs\Python\Python310\include -IC:\Users\shikhar\AppData\Local\Programs\Python\Python310\包括-IC:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0 \ucrt -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared -IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um -IC:\程序文件 (x86)\Windows 工具包\10\include\10.0.17763.0\winrt -IC:\Program Files (x86)\Windows 工具包\10\include\10.0.17763.0\cppwinrt /EHsc /Tphunspell.cpp /Fobuild\temp .win-amd64-3.10\Release\hunspell.obj /MT
cl:命令行警告 D9025:用“/MT”覆盖“/MD”
hunspell.cpp文件
hunspell.cpp(20): 致命错误 C1083: 无法打开包含文件: 'hunspell.hxx': 没有这样的文件或目录
错误:命令“C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe”失败,退出代码为 2
--------------------------------------
错误:命令出错,退出状态为 1:'C:\Users\shikhar\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\shikhar\AppData\Local\Temp\pip-install-gur9qi9n\hunspell_590196089ad44370bc048a58cf3d40dd\setup.py'"'"';文件='"'"'C:\Users\shikhar\AppData\Local\Temp\pip-install-gur9qi9n\hunspell_590196089ad44370bc048a58cf3d40dd\setup.py'"'"';f = getattr(tokenize, '"'"'open'" '“', 打开)(文件) 如果 os.path.exists(文件) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"' , '"'"'\n'"'"');f.close();exec(编译(代码,文件, '"'"'exec'"'"'))' install --record 'C:\Users\shikhar\AppData\Local\Temp\pip-record-clyqesxf\install-record.txt' --single-version -externally-managed --compile --install-headers 'C:\Users\shikhar\AppData\Local\Programs\Python\Python310\Include\hunspell' 检查日志以获得完整的命令输出。
【问题讨论】:
-
请阐明您的具体问题或提供更多详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。