binhetech / cyhunspell Goto Github PK
View Code? Open in Web Editor NEWCython wrapper on Hunspell Dictionary. forked from https://github.com/MSeal/cython_hunspell
License: Other
Cython wrapper on Hunspell Dictionary. forked from https://github.com/MSeal/cython_hunspell
License: Other
installed with pip install cyhunspell
, got the following error with python 3.10 on Win11 64 bit
Running setup.py install for cyhunspell ... error
ERROR: Command errored out with exit status 1:
command: 'C:\Users\me\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\me\\AppData\\Local\\Temp\\pip-install-95yghm82\\cyhunspell_ab8d9ef246874256ac53a3ee25349071\\setup.py'"'"'; __file__='"'"'C:\\Users\\me\\AppData\\Local\\Temp\\pip-install-95yghm82\\cyhunspell_ab8d9ef246874256ac53a3ee25349071\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\me\AppData\Local\Temp\pip-record-zt2gopcf\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\me\AppData\Local\Programs\Python\Python310\Include\cyhunspell'
cwd: C:\Users\me\AppData\Local\Temp\pip-install-95yghm82\cyhunspell_ab8d9ef246874256ac53a3ee25349071\
Complete output (48 lines):
C:\Users\me\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools\dist.py:717: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
warnings.warn(
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.10
creating build\lib.win-amd64-3.10\hunspell
copying hunspell\platform.py -> build\lib.win-amd64-3.10\hunspell
copying hunspell\__init__.py -> build\lib.win-amd64-3.10\hunspell
package init file 'dictionaries\__init__.py' not found (or not a regular file)
package init file 'libs\msvc\__init__.py' not found (or not a regular file)
copying hunspell\hunspell.pxd -> build\lib.win-amd64-3.10\hunspell
copying hunspell\thread.pxd -> build\lib.win-amd64-3.10\hunspell
copying hunspell\hunspell.pyx -> build\lib.win-amd64-3.10\hunspell
copying hunspell\hunspell.cpython-36m-x86_64-linux-gnu.so -> build\lib.win-amd64-3.10\hunspell
copying hunspell\thread.hpp -> build\lib.win-amd64-3.10\hunspell
copying hunspell\hunspell.cpp -> build\lib.win-amd64-3.10\hunspell
creating build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_AU.aff -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_CA.aff -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_GB.aff -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_NZ.aff -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_US.aff -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_ZA.aff -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\test.aff -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_AU.dic -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_CA.dic -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_GB.dic -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_NZ.dic -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_US.dic -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\en_ZA.dic -> build\lib.win-amd64-3.10\dictionaries
copying dictionaries\test.dic -> build\lib.win-amd64-3.10\dictionaries
creating build\lib.win-amd64-3.10\libs
creating build\lib.win-amd64-3.10\libs\msvc
copying libs\msvc\libhunspell-msvc11-x64.lib -> build\lib.win-amd64-3.10\libs\msvc
copying libs\msvc\libhunspell-msvc11-x86.lib -> build\lib.win-amd64-3.10\libs\msvc
copying libs\msvc\libhunspell-msvc14-x64.lib -> build\lib.win-amd64-3.10\libs\msvc
copying libs\msvc\libhunspell-msvc14-x86.lib -> build\lib.win-amd64-3.10\libs\msvc
running build_ext
building 'hunspell.hunspell' extension
creating build\temp.win-amd64-3.10
creating build\temp.win-amd64-3.10\Release
creating build\temp.win-amd64-3.10\Release\hunspell
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\me\AppData\Local\Temp\pip-install-95yghm82\cyhunspell_ab8d9ef246874256ac53a3ee25349071\hunspell -IC:\Users\me\AppData\Local\Temp\pip-install-95yghm82\cyhunspell_ab8d9ef246874256ac53a3ee25349071\external\hunspell-1.3.3\src -IC:\Users\me\AppData\Local\Programs\Python\Python310\include -IC:\Users\me\AppData\Local\Programs\Python\Python310\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include /EHsc /Tphunspell\hunspell.cpp /Fobuild\temp.win-amd64-3.10\Release\hunspell\hunspell.obj /EHsc /DHUNSPELL_STATIC
hunspell.cpp
C:\Users\me\AppData\Local\Programs\Python\Python310\include\pyconfig.h(59): fatal error C1083: 无法打开包括文件: “io.h”: No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.29.30133\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\me\AppData\Local\Programs\Python\Python310\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\me\\AppData\\Local\\Temp\\pip-install-95yghm82\\cyhunspell_ab8d9ef246874256ac53a3ee25349071\\setup.py'"'"'; __file__='"'"'C:\\Users\\me\\AppData\\Local\\Temp\\pip-install-95yghm82\\cyhunspell_ab8d9ef246874256ac53a3ee25349071\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\me\AppData\Local\Temp\pip-record-zt2gopcf\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\me\AppData\Local\Programs\Python\Python310\Include\cyhunspell' Check the logs for full command output.
WARNING: You are using pip version 21.2.4; however, version 21.3.1 is available.
You should consider upgrading via the 'C:\Users\me\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.