微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

无法在 Windows 10 上安装 hunspell

如何解决无法在 Windows 10 上安装 hunspell

我无法在 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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。