无法在 windows 10 上安装 hunspell

Unable to install hunspell on windows 10

我无法在 windows 10 上安装 hunspell 每当我尝试使用 pip 安装它时,它都会抛出以下错误。



  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:
    

试过这个吗?

pip install CyHunspell

https://github.com/OpenGov/cython_hunspell