I'm using python 2.7.9 (32 bit) under win7-64bit, I'm using pyenchant (v. 1.6.6), installed via "pip install pyenchant", occasionally, it works without problems.
Now I've downloaded pyenchant-master.zip (v. 1.6.6) from https://github.com/rfk/pyenchant, compiled it with TDM-GCC-32 (gcc 4.9.2) and copied the dll files (libenchant-1.dll, libenchant_ispell.dll and libenchant_myspell.dll) into the proper folders (enchant/ or rather enchant/lib/enchant/), overwriting the ones installed via pip.
** (pythonw.exe:3288): WARNING **: Error loading plugin: `D:\Python27\lib\site-packages\enchant\lib\enchant\libenchant_myspell.dll': Die angegebene Prozedur wurde nicht gefunden. (= the indicated procedure wasn't found.)
The numbers after pythonw.exe are changing every time I run the python prog again.
2) With d = enchant.Dict("en_US") I get the following message:
Traceback (most recent call last):
File "test_enchant.py", line 10, in <module>
DE = enchant.Dict("en_US")
File "D:\Python27\lib\site-packages\enchant\__init__.py", line 555, in __init__
_EnchantObject.__init__(self)
File "D:\Python27\lib\site-packages\enchant\__init__.py", line 168, in __init__
self._init_this()
File "D:\Python27\lib\site-packages\enchant\__init__.py", line 562, in _init_this
this = self._broker._request_dict_data(self.tag)
File "D:\Python27\lib\site-packages\enchant\__init__.py", line 307, in _request_dict_data
self._raise_error(eStr % (tag,),DictNotFoundError)
File "D:\Python27\lib\site-packages\enchant\__init__.py", line 255, in _raise_error
raise eclass(default)
enchant.errors.DictNotFoundError: Dictionary for language 'en_US' could not be found
What is going wrong? How was the working pyenchant compiled?
L.