Pretty strange, all right. I just installed 6.8.7 into another new venv and it worked as expected. It installed leo.exe into the venv's Scripts directory, which is convenient since you only have to type "leo" to launch.
What version of Python are you using? It's possible that the PyQt6 install for that version has something wrong with it, I suppose. Or the particular version of PyQt6 has an install problem. Do you know how to set up a virtual environment (venv) for Python? I think you should try that next (although I don't have an explanation for the missing PyQt6.sip). I'll sketch out what to do, and if you already are familiar with using venvs, just ignore me and proceed with what you know. Decide on a location. I will use c:\venv as the base directory. You can use somewhere else, of course. Open a console window and type py -m venv c:\venv\leo When the command returns a new virtual environment in the c:\venv\leo directory will have been set up. To use a venv, you have to activate it. Type c:\venv\leo\Scripts\activate to do so. Notice that the prompt changes to remind you that you are using the "leo" venv. Some system and Python paths will have been set up, and the Scripts directory will now be on the path for the duration of the session with the venv. Next install Leo: py -m pip install leo When this is done, just type leo. Leo should run. If you still get the error about the missing sip component, then I think it will be time to install an earlier version of Python and try with that. Or maybe try to install an earlier version of PyQt6. On Tuesday, October 14, 2025 at 11:17:14 AM UTC-4 rengel wrote: > [image: ModuleNotFoundError.png] > > > A correction: The installation from github did install launchLeo.py. But > starting 'python launchLeo.py' still results in the error: > ModuleNotFoundError: No module named 'PyQt6.sip'. (I did install the > requirements.) > > On Tuesday, October 14, 2025 at 5:00:37 PM UTC+2 rengel wrote: > >> Thank you for your answers! >> I waited for a couple of days to install the latest version of leo. But >> in vain. I tried both the pip install and the install from github. But in >> both cases I get the same error shown in my original post. Upon closer >> inspection, I noticed that neither launchLeo.py nor PyQt6.sip have been >> installed. And the installation didn't install a Leo home directory for me. >> >> >> On Thursday, October 9, 2025 at 11:08:55 PM UTC+2 [email protected] >> wrote: >> >>> I just installed Python 3.14 on Windows 11. Then I created a new virtual >>> environment and pip-installed Leo into it. PyQt6.sip got installed and Leo >>> ran normally. Something went wrong when @rengel tried installing Leo, I >>> think, because PyQt6 didn't install normally. >>> >>> I'd suggest creating a venv like I did and trying it that way. >>> >>> On Thursday, October 9, 2025 at 4:48:45 PM UTC-4 Thomas Passin wrote: >>> >>>> I don't think that's it - PyQt6.sip normally gets installed during a >>>> PyQt6 installation. >>>> >>>> On Thursday, October 9, 2025 at 2:52:51 PM UTC-4 [email protected] >>>> wrote: >>>> >>>>> @rengel, >>>>> >>>>> rengel schrieb am Donnerstag, 9. Oktober 2025 um 16:43:08 UTC+2: >>>>> >>>>> Hi, >>>>> yesterday I updated my machine from Windows 10 to Winddos 11. Today, I >>>>> completely removed all my old Python installations and then installed the >>>>> new Python 3.14. From Python I did a fresh install of Leo from PyPi >>>>> (`python -m pip install leo`) as described on the Leo website. During the >>>>> install I got the following WARNING: >>>>> [image: leo-warning.png] >>>>> When I start leo, I get the following error:[image: leo-error.png] >>>>> The environment contains the correct paths to Python and >>>>> Python\Scripts. >>>>> >>>>> >>>>> You installed the latest version of Leo from PyPI, which is version >>>>> 6.8.6.1. >>>>> >>>>> This version does NOT yet support Python 3.14.0 ! >>>>> >>>>> If you want to try it out before Edward releases version 6.8.7, you >>>>> have to use the 'devel' branch from GitHub. >>>>> >>>>> See >>>>> https://leo-editor.github.io/leo-editor/installing.html#installing-leo-from-github >>>>> >>>>> With kind regards, >>>>> >>>>> Viktor >>>>> >>>>> -- 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/f6428d30-f7dc-41db-9833-ae2dc0d3d320n%40googlegroups.com.
