-1

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



  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:
    
4

1 回答 1

1

试过这个?

pip install CyHunspell

请参阅https://github.com/OpenGov/cython_hunspell

于 2021-03-21T06:49:10.263 回答