Open asyrafzlkln96 opened 5 years ago
why don't you this! sudo apt install python-dev libhunspell-dev pip install hunspell
try this way!! pip install cyhunspell
@Murali-Krishna567 did u run this complete project in ur pc ??
did you get a solution to this error??
Hi i tried to pip install hunspell but it gave me error message:
ERROR: Complete output from command 'C:\Users\TMRND\Anaconda3\python.exe' -u -c 'import setuptools, tokenize;file='"'"'C:\Users\TMRND\AppData\Local\Temp\pip-install-65r8fkqa\hunspell\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\TMRND\AppData\Local\Temp\pip-wheel-v6gq75kk' --python-tag cp37: ERROR: running bdist_wheel running build running build_ext building 'hunspell' extension creating build creating build\temp.win-amd64-3.7 creating build\temp.win-amd64-3.7\Release C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -DHUNSPELL_STATIC -IV:/hunspell-1.3.3/src/hunspell -IC:\Users\TMRND\Anaconda3\include -IC:\Users\TMRND\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /EHsc /Tphunspell.cpp /Fobuild\temp.win-amd64-3.7\Release\hunspell.obj /MT hunspell.cpp hunspell.cpp(20): fatal error C1083: Cannot open include file: 'hunspell.hxx': No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.23.28105\bin\HostX86\x64\cl.exe' failed with exit status 2
ERROR: Failed building wheel for hunspell Running setup.py clean for hunspell Failed to build hunspell Installing collected packages: hunspell Running setup.py install for hunspell ... error
What is the solution to install hunspell ?