C:\Users\nicoll\leo-editor>python3 -m pip list | find /i "qt" PyQt5 5.15.10 PyQt5-Qt5 5.15.2 PyQt5-sip 12.13.0 PyQt6 6.7.1 PyQt6-Qt6 6.7.3 PyQt6_sip 13.8.0 PyQt6-WebEngine 6.7.0 PyQt6-WebEngine-Qt6 6.7.3 PyQt6-WebEngineSubwheel-Qt6 6.7.3 PyQtWebEngine 5.15.6 PyQtWebEngine-Qt5 5.15.2 sphinxcontrib-qthelp 1.0.6
No PyQt6-QScintilla, but apart from that looks OK... On Monday, November 4, 2024 at 1:17:58 PM UTC [email protected] wrote: > 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/617a294a-37b8-42fb-9c5a-4025bdc11ae6n%40googlegroups.com.
