WinError on Win 7 on importing enchant

1,209 views
Skip to first unread message

Viktor Pekar

unread,
Jan 25, 2011, 12:17:20 PM1/25/11
to pyenchant users
Hi all,

I am trying to get pyenchant to run on Win 7. The installation exe
(pyenchant-1.6.5.win32.exe) runs without any errors, but when
importing enchant I get the following error:

Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit
(AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import enchant
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python26\lib\site-packages\pyenchant-1.6.5-py2.6-win32.egg
\enchant\__
init__.py", line 90, in <module>
from enchant import _enchant as _e
File "C:\Python26\lib\site-packages\pyenchant-1.6.5-py2.6-win32.egg
\enchant\_e
nchant.py", line 95, in <module>
raise WinError()
WindowsError: [Error 193] <no description>
>>>

If anyone could successfully install pyenchant on Win7, please let me
know.

Thanks,

Viktor

Ryan Kelly

unread,
Jan 26, 2011, 3:44:20 PM1/26/11
to pyencha...@googlegroups.com
On Tue, 2011-01-25 at 09:17 -0800, Viktor Pekar wrote:
> Hi all,
>
> I am trying to get pyenchant to run on Win 7. The installation exe
> (pyenchant-1.6.5.win32.exe) runs without any errors, but when
> importing enchant I get the following error:
>
> Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit
> (AMD64)] on win32

Looks like you're running a 64-bit version of python. The enchant
libraries are 32-bit only at this stage, which is probably the source of
the trouble.

I've no idea the necessary steps to do a 64-bit build of pyenchant. Any
suggestions gratefully accepted.


Cheers,

Ryan

> Type "help", "copyright", "credits" or "license" for more information.
> >>> import enchant
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "C:\Python26\lib\site-packages\pyenchant-1.6.5-py2.6-win32.egg
> \enchant\__
> init__.py", line 90, in <module>
> from enchant import _enchant as _e
> File "C:\Python26\lib\site-packages\pyenchant-1.6.5-py2.6-win32.egg
> \enchant\_e
> nchant.py", line 95, in <module>
> raise WinError()
> WindowsError: [Error 193] <no description>
> >>>
>
> If anyone could successfully install pyenchant on Win7, please let me
> know.
>
> Thanks,
>
> Viktor
>

--
Ryan Kelly
http://www.rfk.id.au | This message is digitally signed. Please visit
ry...@rfk.id.au | http://www.rfk.id.au/ramblings/gpg/ for details

signature.asc
Reply all
Reply to author
Forward
0 new messages