On Sunday, January 20, 2019 at 2:46:48 PM UTC-5, Chris George wrote:
>
> If you are wanting to install Leo using the Debian instructions I am not
> the guy to help you.
>
> I can, however, help you get Leo installed under Ubuntu 18.04 using an
> alternate method.
>
> First the prerequisites for python3:
>
> sudo apt install python3-docutils python3-pip git
>
> pip3 install nbformat pyenchant
>
>
>
> Install QT5 by visiting here and following the directions.
>
> https://wiki.qt.io/Install_Qt_5_on_Ubuntu
>
> Now install Leo via git:
>
> git clone https://github.com/leo-editor/leo-editor.git
>
> cd leo-editor
>
> ./launchLeo.py
>
> For simplicity I add my home directory to my path and run Leo from a bash
> script that lives there:
>
> #!/bin/bash
>
> cd ~/leo-editor
> git pull
> python3 ./launchLeo.py --session-restore --session-save $1 $2 $3
>
> I always run the devel version of Leo and have had almost zero downtime
> over many years. Run the following git command before starting Leo:
>
> From your home directory.
>
>
> cd leo-editor
> git checkout devel
>
>
> Please feel free to ask questions. And someone who knows how to do it via
> the Debain method will be along soon if that is your preference.
>
> Chris
>
>
This is great. I don't care how I install Leo, I just want to install it. I
was using the Debian approach simply because that is my usual way to
install programs.
Your method is great. So far I seem to have installed QT5 (tools only) and
installed Leo smoothly but I am running into a Qt5 problem. I have never
dealt with Qt before so I have no idea if I mucked up the installation or
what. By only installing the "Default" that is * tools* did I miss
something? Qt Creator loaded so I was assuming a successful installation.
I google AssertionError but did not see anything that looked relevant to an
amateur like me.
Any suggestions?
*Error Message*
john@john-T510:~/leo-editor$ ./launchLeo.py
setting leoID from os.getenv('USER'): 'john'
reading settings in /home/john/leo-editor/leo/config/leoSettings.leo
Traceback (most recent call last):
File "/home/john/leo-editor/leo/core/leoApp.py", line 1054, in createQtGui
assert Qt
AssertionError
can not import Qt
john@john-T510:~/leo-editor$
Thanks again.
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.