On Wednesday, July 31, 2024 at 9:46:15 PM UTC+10 tbp1...@gmail.com wrote:

I don't know the answer so I'll flail around with a few things that I do 
know. 



Hi Thomas,
There are advantages to flailing around. You learn so much in the flail. I 
hope others can benefit from these notes. 

Finally an update on running Leo on wsl Debian using the github 
installation method.
When using pip to install Leo, the "--break-system-packages" option is 
needed.


*$ git clone https://github.com/leo-editor/leo-editor.git$ cd leo-editor*

So use:
*~/leo-editor$ python3 -m pip install --break-system-packages -r 
requirements.txt*

After starting Leo still reported WebEngine errors despite these packages 
being installed:
 PQt6-WebEngine-6.7.0 
 PyQt6-WebEngine-Qt6-6.7.2 
 PyQt6-WebEngineSubwheel-Qt6
 
I used this test script at 
https://www.riverbankcomputing.com/pipermail/pyqt/2024-August/045993.html
Received Traceback:
* ImportError: libsmime3.so: cannot open shared object file:*

Investigated how to install libsmime3.so

During the saga of installing some missing linux files I installed wsl 
openSUSE-Tumbleweed and found the very useful command:

*$ sudo zypper info --requires <package>$ sudo zypper info --requires 
MozillaFirefox*

This reports that libnss3 and libsmime3.so are requirements for 
MozillaFirefox package.

Package libnss3 is available in Debian 

*$ apt show libnss3$ sudo apt install libnss3*

Start Leo again and run the test script. Progress! One last error:
 
*from PyQt6.QtWebEngineWidgets import QWebEngineView ImportError: 
libxkbfile.so.1: cannot open shared object file: No such file or directory*

*$ sudo apt install libxkbfile1*

Finally I have Leo running fully on wsl Debian, with both Freewin and VR3 
plugins running. 

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/df7297e4-ae42-496f-9262-92e163eed8ben%40googlegroups.com.

Reply via email to