Сначала я попытался установить CyHunspell: pip install CyHunspell и получил следующее сообщение об ошибке:
Код: Выделить всё
RuntimeError: 'pkg-config' is not recognized as an internal or external command,operable program or batch file.
Код: Выделить всё
ERROR: Could not find a version that satisfies the requirement PyHunspell (from versions: none)
ERROR: No matching distribution found for PyHunspell
Код: Выделить всё
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 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
Код: Выделить всё
import hunspell
Код: Выделить всё
spellchecker = hunspell.HunSpell() failed with the following error msg:
AttributeError: module 'hunspell' has no attribute 'HunSpell'
Подробнее здесь: https://stackoverflow.com/questions/584 ... -windows10