If you want to try using PyQt5, you can pip-install it by hand. Here's how 
I get Leo to use PyQt5 instead of PyQt6;  I think it's the easiest way to 
do it.  I navigate to Lib/site-packages and find the PyQt5 and PyQt6 
directories.  I just rename the PyQt6 directory to something else, usually 
*PyQt6x*.  Then Leo won't be able to import it and should fall back to 
using PyQy5.  When you are satisfied that Leo works with PyQt5, just rename 
PyQt6x back to PyQt6 and restart Leo.

On Sunday, September 11, 2022 at 8:06:58 PM UTC-4 Félix wrote:

> (I installed python 3.9, to use the  latest Leo - and PyQt5 as per the 
> official doc on Leo'S website about it being the only dependency 
> https://leoeditor.com/installing.html#dependencies )
>
> After frustrating lack of success ('Nonetype' has no attribute 'gui' check 
> your dependencies at the url above message)
>
> I had to start the old leo (6.4 master branch) at least once with my new 
> python3.9, before being able to start the new leo (6.7 devel branch) by 
> magic! 
>
> and is says in the log pane that it's useing pyqt6 ! 
>
> This is surprising, ... it works, but I mean ... All the python ecosystem 
> is a complete mystery to me!  lol 
>
> Félix
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/cdb0dcfb-bbfe-495d-af3b-660a42c688d6n%40googlegroups.com.

Reply via email to