emnikhil / Sign-Language-To-Text-Conversion

Major Project - Sign Language To Text Conversion Using Python, Computer Vision and Machine Learning
MIT License
214 stars 97 forks source link

Issues installing hunspell #9

Closed MaraBytes closed 11 months ago

MaraBytes commented 11 months ago

What python version did you use? I'm having issues installing hunspell.

Collecting hunspell Using cached hunspell-0.5.5.tar.gz (34 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: hunspell Building wheel for hunspell (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [12 lines of output] running bdist_wheel running build running build_ext building 'hunspell' extension creating build creating build\temp.win-amd64-cpython-311 creating build\temp.win-amd64-cpython-311\Release "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DHUNSPELL_STATIC -IV:/hunspell-1.3.3/src/hunspell -IC:\Users\KEVIN\AppData\Local\Programs\Python\Python311\include -IC:\Users\KEVIN\AppData\Local\Programs\Python\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /EHsc /Tphunspell.cpp /Fobuild\temp.win-amd64-cpython-311\Release\hunspell.obj /MT cl : Command line warning D9025 : overriding '/MD' with '/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\2022\BuildTools\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for hunspell Running setup.py clean for hunspell Failed to build hunspell ERROR: Could not build wheels for hunspell, which is required to install pyproject.toml-based projects

emnikhil commented 11 months ago

Use the python version 3.8 as hunspell library works with python version 3.8 I have mentioned all the library requirements in the README.MD file. You can refer that