-1

i am unable to install hunspell on windows 10 whenever i try to install it using pip it throws the following error.



  Building wheel for hunspell (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 
  Complete output (12 lines):
  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 

  ----------------------------------------
  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
    ERROR: Command errored out with exit status 1:
    
desertnaut
  • 57,590
  • 26
  • 140
  • 166

1 Answers1

2

Tried this ?

pip install CyHunspell

See https://github.com/OpenGov/cython_hunspell.

desertnaut
  • 57,590
  • 26
  • 140
  • 166
Shabari nath k
  • 920
  • 1
  • 10
  • 23
  • ```self.hs = hunspell.HunSpell('/usr/share/hunspell/en_US.dic','/usr/share/hunspell/en_US.aff') AttributeError: module 'hunspell' has no attribute 'HunSpell'``` Pyhunspell has this attribute but Cyhunspell does'nt. any solution for this? – Hrishita Mavani Mar 21 '21 at 07:28