The same problem occurs with Python 2.7 too. On Stackoverflow is the solution : http://stackoverflow.com/questions/2738879/cannot-import-pyqt4-qtgui
On 11 Aug., 22:45, Steve Allen <[email protected]> wrote: > I've drug my feet upgrading from Leo 4.4.3 because Cleo didn't seem to > be available in the Qt environment. Since recently rummaging through > some old posts, I saw that todo.py was the Qt successor to Cleo. > > So, I installed the latest version of Qt for Python 2.6 (PyQt-Py2.6- > gpl-4.7.4-1.exe) and the latest version of Leo (LeoSetup-4.7.1- > final.exe). However when I try to run Leo, it thinks that PyQt is not > installed and it defaults to Tk UI instead. > > <output> > C:\Python26\Lib\site-packages\Leo-4.7.1-final>c:\Python26\python.exe > LaunchLeo.py > *** isPython3: False > No g.app.config, making stub... > PyQt not installed - reverting to Tk UI > Leo 4.7.1 final, build 3005, February 26, 2010 > Python 2.6.4, Tk 8.5, Pmw 1.3 > Windows 5, 1, 2600, 2, Service Pack 3 > </output> > > How do I make Leo 4.7.1 recognize PyQt? -- 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.
