Problem found and fixed! Ironic, given my comment in your GitHub elsewhere issue about 'python' and 'python3'...
your example script worked (ie. gave no errors) both within and without the venv. And then I took a look at LaunchLeo.py and saw the shebang line. And got thinking... in the venv, "where python3" gives me a location within <username>\Appdata....\python3.exe but 'where python' gives me a location within the venv, which is what I was expecting. I have now rerun with just 'python' to re-install things under the venv. And we are up and running! Also ironically, the shebang line (#! /usr/bin/env python3) is ignored I presume under Windows (who knows, these days). In fact that is probably part of why I was using 'python3' in the first place. Oh, I was originally looking for that specific error on t'internet (Qt6WebEngineCore.dll not found) without much success. Thanks a lot for your patient help, Thomas. I have learned a bit about venv in any case ;-) Regards, jon N On Wednesday, November 6, 2024 at 7:39:29 PM UTC [email protected] wrote: > The only things I can think of at this point are to look again to see if > that dll file is actually present somewhere, and to try to import the web > engine directly in an interpreter session (IOW, not importing from LeoQt) , > e.g., > > from PyQt6 import QtWebEngineWidgets > QWebEngineView = QtWebEngineWidgets.QWebEngineView > > If the dll file never shows up, maybe an internet search about that > specific fact? > > > On Wednesday, November 6, 2024 at 1:38:20 PM UTC-5 jkn wrote: > > I've been experimenting and still not getting anywhere. Experiments > include: > > - using pip uninstall -r requirements.txt, then reinstalling > - clearing out the cache: pip cache purge > - deleting the PyQt files in ...AppData\... > - editing requirements.txt to downgrade eg. PyQt6 > > nothing has fixed my problem so far ;-(. It looks like there is only v > 6.7.0 of PyQy6-Webengine on PyPy BTW. > > All very rum ... but these are rum times... > > J^n > > -- 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/e6c38c7e-7659-4111-b3e8-cc328039de7bn%40googlegroups.com.
