On Sun, Sep 11, 2022 at 10:03 PM Thomas Passin <[email protected]> wrote:

> 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.
>

I don't recommend hacks like this.  Use pip uninstall to uninstall pyqt5 or
pyqt6.

Edward

-- 
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/CAMF8tS2PRh-7intWG-_rwy9r%3D9u-LY_yMgsLdLMqW5o%3D5Otm0A%40mail.gmail.com.

Reply via email to