You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to include pyenchant with my program, and I can't get it to work with cx_freeze. If I build an exe with pyenchant, the program won't start. The error is:
cx_Freeze: Python error in main script
Traceback (most recent call last):
File "C:\Python33\lib\site-packages\cx_Freeze\initscripts\Console3.py", line 27, in
exec(code, m.dict)
File "C:\Scripts\Spellcheck\spellcheck.py", line 14, in
from spellcheck import spellcheck # A class for spellchecking
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1558, in _find_and_load
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1525, in _find_and_load_unlocked
File "C:\Scripts\Spellcheck\spellcheck.py", line 5, in
import enchant # Python bindings for the Enchant spellchecking system
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1558, in find_and_load
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1525, in find_and_load_unlocked
File "C:\Python33\lib\site-packages\enchant__init.py", line 90, in
from enchant import _enchant as _e
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1607, in _handle_fromlist
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 313, in _call_with_frames_removed
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1558, in _find_and_load
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1525, in _find_and_load_unlocked
File "C:\Python33\lib\site-packages\enchant_enchant.py", line 80, in
e_path = utils.get_resource_filename("libenchant.dll")
File "C:\Python33\lib\site-packages\enchant\utils.py", line 244, in get_resource_filename
exe_path = unicode(sys.executable,sys.getfilesystemencoding())
TypeError: decoding str is not supported
The text was updated successfully, but these errors were encountered:
I've been trying to include pyenchant with my program, and I can't get it to work with cx_freeze. If I build an exe with pyenchant, the program won't start. The error is:
cx_Freeze: Python error in main script
Traceback (most recent call last):
File "C:\Python33\lib\site-packages\cx_Freeze\initscripts\Console3.py", line 27, in
exec(code, m.dict)
File "C:\Scripts\Spellcheck\spellcheck.py", line 14, in
from spellcheck import spellcheck # A class for spellchecking
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1558, in _find_and_load
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1525, in _find_and_load_unlocked
File "C:\Scripts\Spellcheck\spellcheck.py", line 5, in
import enchant # Python bindings for the Enchant spellchecking system
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1558, in find_and_load
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1525, in find_and_load_unlocked
File "C:\Python33\lib\site-packages\enchant__init.py", line 90, in
from enchant import _enchant as _e
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1607, in _handle_fromlist
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 313, in _call_with_frames_removed
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1558, in _find_and_load
File "C:\Python\32-bit\3.3\lib\importlib_bootstrap.py", line 1525, in _find_and_load_unlocked
File "C:\Python33\lib\site-packages\enchant_enchant.py", line 80, in
e_path = utils.get_resource_filename("libenchant.dll")
File "C:\Python33\lib\site-packages\enchant\utils.py", line 244, in get_resource_filename
exe_path = unicode(sys.executable,sys.getfilesystemencoding())
TypeError: decoding str is not supported
The text was updated successfully, but these errors were encountered: