On Jan 18, 7:16 am, "Edward K. Ream" <[email protected]> wrote:
> On Sun, Jan 17, 2010 at 5:16 PM, Caomai <[email protected]> wrote:
> > I am new to Leo and have recently changed to using the bzr trunk with
> > Python 3.1. I have PyQt installed.
> > Any thoughts as to what may need to be changed in my runtime
> > environment?
>
> The errors you are getting indicate that you are trying to use the tk gui.
>
> I invoke Leo from the top-level leo directory using this script:
>
> python launchLeo.py <filename>
>
> This will invoke Leo with the qt gui.
>
> Edward
I uninstalled Python 3.1 (and the PyQT I installed earlier for Python
3.1) and switched to ActiveState Python 2.5.4.4.
Note: I originally tried Python 2.6 but found that Riverbank Software
no longer provides binaries for anything but Python 2.5! Is there a
location I can still get the PyQT binaries for Python 2.6 or Python
3.1?
Anyway, after installing Python 2.5 and the compatible PyQT I now get
the following error messages when executing launchLeo.py:
#~# BEGIN
C:\leo-editor\trunk>launchLeo.py
*** isPython3: False
C:\leo-editor\trunk\leo\core\leoPlugins.py:723: Warning: 'as' will
become a rese
rved keyword in Python 2.6
Traceback (most recent call last):
File "C:\leo-editor\trunk\launchLeo.py", line 7, in <module>
import leo.core.runLeo
File "C:\leo-editor\trunk\leo\core\runLeo.py", line 50, in <module>
import leo.core.leoApp as leoApp
File "C:\leo-editor\trunk\leo\core\leoApp.py", line 11, in <module>
import leo.core.leoPlugins as leoPlugins
File "C:\leo-editor\trunk\leo\core\leoPlugins.py", line 723
except TryNext as exc:
^
SyntaxError: invalid syntax
C:\leo-editor\trunk>
#~# END
Is this something I can avoid in the current installed environment?
Otherwise I would prefer to move back to a later Python + PyQT. I do
not have the tools to make PyQT from source so I would need the
compatible binary distributions -- which have been removed from
Riverbend apparently.
Any guidance appreciated :)
--
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.