On Monday, November 4, 2024 at 6:51:53 AM UTC-5 jkn wrote:

Hmm, slightly separate point, but now I am trying to replicate things 
(enabling viewrendered3) on my Windows machine...

I am getting a Windows Error popup: ... Qt6WebEngineCore.dll was not 
found...

Leo itself doesn't have an error from vr3.

I've tried to install/re-install a few things via pip, but no success. Any 
pointers?


Post or compare your output  for

C:\Users\tom>py -m pip list |find /i "qt"
PyQt6                         6.7.0
PyQt6-QScintilla              2.14.1
PyQt6-Qt6                     6.7.2
PyQt6-sip                     13.6.0
PyQt6-WebEngine               6.7.0
PyQt6-WebEngine-Qt6           6.7.2
PyQt6-WebEngineSubwheel-Qt6   6.7.2

That last line puzzles me.  I don't  know why pip is listing it since it 
seems to be an auxiliary folder used during install.  I don't remember 
seeing it in past listings. It isn't included in the listing for my older 
Python 3.11 installation.

Here are some possibilities:

1. Before trying to re-install the PyQt6 packages, go to your site-packages 
directory and delete *all* directories with "Qt6" in their names.

C:\Users\tom>dir AppData\Roaming\Python\Python312\site-packages |find /i 
"qt6"
06/25/2024  10:54 PM    <DIR>          PyQt6
06/25/2024  10:54 PM    <DIR>          PyQt6-6.7.0.dist-info
06/25/2024  10:54 PM    <DIR>          PyQt6_QScintilla-2.14.1.dist-info
06/25/2024  10:54 PM    <DIR>          PyQt6_Qt6-6.7.2.dist-info
06/25/2024  10:54 PM    <DIR>          PyQt6_sip-13.6.0.dist-info
06/25/2024  10:54 PM    <DIR>          PyQt6_WebEngine-6.7.0.dist-info
06/25/2024  10:54 PM    <DIR>         
 PyQt6_WebEngineSubwheel_Qt6-6.7.2.dist-info
06/25/2024  10:54 PM    <DIR>          PyQt6_WebEngine_Qt6-6.7.2.dist-info

PyQt might have been installed installed in the system's site packages 
instead of the user's:

C:\Users\tom>dir AppData\local\Programs\Python\Python312\Lib\site-packages 
|find /i "qt6"

These are the standard locations for user and system site-package 
directories.  I normally install Qt6 with --user, so my Qt6 files are in 
the user location.

2. There could be a mixed condition where different versions got installed 
into the system and user locations.  I had that once. One of them should go 
away before re-installing PyQt to the other location.

3. Create a new virtual environment and install Leo into it.  Remember, 
with a venv on Windows you don't need to source the activate command, you 
just execute it directly.

-- 
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 visit 
https://groups.google.com/d/msgid/leo-editor/e819669e-b1a2-4730-8954-99d492039665n%40googlegroups.com.

Reply via email to