On Thu, 28 Jul 2011 13:48:18 -0700 (PDT)
Largo84 <[email protected]> wrote:
> Trying to get Leo running on a WinXP laptop (Leo v 4.9 b4 and Python
> 3.2). Leo runs fine until I try to install PyEnchant. After installing
> PyEnchant (latest version 1.5.3), I get the following error when
> running launchLeo.py:
>
> import enchant
> File "C:Python32\lib\site-packages\enchant\__init__.py", line 1198
> print ""
> SyntaxError:invalid syntax
Strange,
print ""
isn't valid python 3.x, it should be print("") (or print() I guess),
but it's installed in C:Python32\lib\site-packages.
PyEnchant release notes for 1.6.5 claim compatibility with python 3.2,
so check your PyEnchant version.
http://packages.python.org/pyenchant/
Cheers -Terry
> Leo will not start unless I uninstall (or move) PyEnchant.
>
> I looked at the code at line 1198 and don't see anything out of order.
> Also, PyEnchant works fine on another WinXP box I use (Python 2.6),
> not sure why it won't work on my laptop unless the Python version is
> causing the problem (that's the only difference I can think of).
>
> Any suggestions?
>
> Rob..................
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.