[Windows] How to install and run Leo?

95 views
Skip to first unread message

Heck Lennon

unread,
Feb 10, 2024, 2:32:37 PM2/10/24
to leo-editor
Hello,

I'm looking for a single-pane outliner à la EccoPro, and someone suggested Leo.

I don't understand how to install and run Leo (on Windows).

With Python 3.12.0  already installed, I ran the following:
c:\> pip install leo
Collecting leo
  Downloading leo-6.7.7.1-py3-none-any.whl.metadata (1.2 kB)
Downloading leo-6.7.7.1-py3-none-any.whl (2.4 kB)
Installing collected packages: leo
Successfully installed leo-6.7.7.1

It doesn't look like it takes care of also installing Qt.

Also, the documentation mentions a "launchLeo.py" script to actually launch Leo, but there's no trace of it on my computer.

What am I missing?

Thank you.

Edward K. Ream

unread,
Feb 10, 2024, 2:35:49 PM2/10/24
to leo-e...@googlegroups.com
On Sat, Feb 10, 2024 at 1:32 PM Heck Lennon <frdt...@gmail.com> wrote:

I don't understand how to install and run Leo (on Windows).
...

What am I missing?

Leo 6.7.7.1 is a dummy package whose only purpose is to say that Leo will soon be distributed only on GitHub.

My apologies for the confusion.  Please install 6.7.7 instead.

Edward

Heck Lennon

unread,
Feb 10, 2024, 5:38:19 PM2/10/24
to leo-editor
So "pip install leo" isn't the right command.

What command should I use, and will it take care of installing all the dependencies?

Edward K. Ream

unread,
Feb 10, 2024, 6:15:28 PM2/10/24
to leo-e...@googlegroups.com
On Sat, Feb 10, 2024 at 4:38 PM Heck Lennon <frdt...@gmail.com> wrote:
So "pip install leo" isn't the right command.

What command should I use, and will it take care of installing all the dependencies?

The instructions are in flux. `pip install leo` will work provided you specify Leo 6.7.7 rather than Leo 6.7.7.1.

In other words:  pip install leo==6.7.7 should work.

After Leo 6.7.8 goes out the door you will use something like this:


followed by (I think):
pip install leo[qt]
However, this isn't ready yet.  Stay tuned. Thanks for your patience.
Please feel free to ask more questions.
Edward

Heck Lennon

unread,
Feb 11, 2024, 3:37:33 AM2/11/24
to leo-editor
> Please feel free to ask more questions

Could someone run PyInstaller and zip the output to provide an installation-free solution, at least temporary just to give Leo a try?

Edward K. Ream

unread,
Feb 11, 2024, 5:52:44 AM2/11/24
to leo-e...@googlegroups.com
On Sun, Feb 11, 2024 at 2:37 AM Heck Lennon <frdt...@gmail.com> wrote:
> Please feel free to ask more questions

Could someone run PyInstaller and zip the output to provide an installation-free solution, at least temporary just to give Leo a try?

I have just deleted Leo 6.7.7.1 from PyPi, so `pip install leo` should give you Leo 6.7.7.  Let me know if it doesn't :-)

Edward

Heck Lennon

unread,
Feb 11, 2024, 7:42:40 AM2/11/24
to leo-editor
c:\temp\>pip install leo
Requirement already satisfied: leo in c:\users\joe\appdata\local\programs\python\python312\lib\site-packages (6.7.7.1)

c:\temp\>leo
'leo' is not recognized as an internal or external command, operable program or batch file.

c:\temp\>whatsagirltodo

Edward K. Ream

unread,
Feb 11, 2024, 8:22:38 AM2/11/24
to leo-e...@googlegroups.com
On Sun, Feb 11, 2024 at 6:42 AM Heck Lennon <frdt...@gmail.com> wrote:

> Requirement already satisfied:
> leo in ...\python\python312\lib\site-packages (6.7.7.1)
...
'leo' is not recognized as an internal or external command, operable program or batch file.

Please uninstall the dummy version of Leo and reinstall:

pip uninstall leo
pip install leo

Now you should have a working version of Leo. I don't remember whether typing 'leo' from the console will "just work". But this should work:

cd <path to leo-editor>
python launchLeo.py

HTH. All questions are welcome, especially questions about installation :-)

Edward

Edward K. Ream

unread,
Feb 11, 2024, 8:25:17 AM2/11/24
to leo-e...@googlegroups.com
On Sun, Feb 11, 2024 at 7:22 AM Edward K. Ream wrote:
On Sun, Feb 11, 2024 at 6:42 AM Heck Lennon wrote:

Please uninstall the dummy version of Leo and reinstall:

pip uninstall leo
pip install leo

Thanks for your patience!

Your experience clearly shows why putting a dummy version of Leo on PyPi was a wretched idea :-)

Edward

Heck Lennon

unread,
Feb 11, 2024, 8:37:22 AM2/11/24
to leo-editor
Thanks, it finally worked.

1. Install Python
2. Install leo through "pip install leo". This command will take care of downloading and installing the depencies
3. Launch Leo by typing… leo. You will be required to type an ID of your choice
leo.png

Edward K. Ream

unread,
Feb 11, 2024, 9:51:08 AM2/11/24
to leo-e...@googlegroups.com


On Sun, Feb 11, 2024 at 7:37 AM Heck Lennon <frdt...@gmail.com> wrote:
Thanks, it finally worked.

Excellent. Thanks for your testing! Your experiences have helped improve Leo.

Edward

Rob

unread,
Feb 11, 2024, 6:11:04 PM2/11/24
to leo-editor
I was the 'culprit' who recommended Leo on the ECCO group. I also should have explained that Leo can operate as a single pane outliner by simply hiding the body pane (see screenshot).

Rob...

Screenshot 2024-02-11 180945.jpg

jkn

unread,
Feb 12, 2024, 4:21:42 PM2/12/24
to leo-editor
heh, I was on (several) Ecco Pro mailing lists for years; Yahoo, groups.io etc.

There are still quite a few things I miss about Ecco Pro. A true cross-platform version of something like it,
scriptable in Python, would be quite a thing.
Reply all
Reply to author
Forward
0 new messages