Re: Problem installing Leo under 18.04

2019-02-27 Thread Brian Theado
Vitalije, On Fri, Feb 15, 2019 at 12:57 PM vitalije wrote: > By the way, two days ago I have installed Ubuntu 18.04 on the new > computer, and full anaconda distribution of Python3. Then I have cloned Leo > repository and when I tried to start it, Leo exited with the core dump each > time. But

Re: Problem installing Leo under 18.04

2019-02-16 Thread Matt Wilkie
> > Thanks to you and Matt for all the help. > You're welcome :) The world of command line incantations and the intricate web of software and platform dependencies is indeed a strange one. It's easy to forget that after being here so long. I'm sure you'll get your sea legs; you have

Re: Problem installing Leo under 18.04

2019-02-15 Thread John Kane
On Friday, February 15, 2019 at 12:57:16 PM UTC-5, vitalije wrote: > > > >> Is *python3* an integral part of the command or does it mean I should >> run it in *Python3*? >> > > Yes python3 is a program that will execute python scripts. You should > supply your path to the folder you installed

Re: Problem installing Leo under 18.04

2019-02-15 Thread vitalije
> > Is *python3* an integral part of the command or does it mean I should run > it in *Python3*? > Yes python3 is a program that will execute python scripts. You should supply your path to the folder you installed Leo in. Replace 'path/to/leo-editor' in the above command with the real path

Re: Problem installing Leo under 18.04

2019-02-15 Thread John Kane
Thanks Matt, but where or how do I run *python3 path/to/leo-editor/launchLeo.py *? Is *python3* an integral part of the command or does it mean I should run it in *Python3*? I have *no *idea how Python works. I once managed to write a four–line Python program but that is about it. At Root or

Re: Problem installing Leo under 18.04

2019-02-15 Thread Matt Wilkie
> > > john@jonh-T510:~$ leo > Command 'leo' not found, but can be installed with: > sudo apt install libwww-dict-leo-org-perl > john@jonh-T510:~$ > > Try this: python3 path/to/leo-editor/launchLeo.py I think Leo is installing the launch wrapper scripts to a PYTHONHOME/Scripts directory that

Re: Problem installing Leo under 18.04

2019-02-14 Thread John Kane
I have returned. Due to some slightly stupid things I did (not in Leo!) I decided on a new install of Ubuntu 18.04 Here is the installation script I am using for Leo Install Python sudo apt update sudo apt install python3-pip sudo apt-get install python3-pyqt5 # Combination of instructions

Re: Problem installing Leo under 18.04

2019-02-08 Thread Matt Wilkie
> Nope, still no good. I did a fresh zip download, then: > [nbecker@nbecker2 leo-editor]$ pip3 install --user --editable . > [...] > Running setup.py develop for leo > Complete output from command /usr/bin/python3 -c "import setuptools, >

Re: Problem installing Leo under 18.04

2019-02-08 Thread Neal Becker
But python3 setup.py install --user did succeed. On Fri, Feb 8, 2019 at 6:55 AM Neal Becker wrote: > Nope, still no good. I did a fresh zip download, then: > [nbecker@nbecker2 leo-editor]$ pip3 install --user --editable . > Obtaining file:///home/nbecker/leo-editor > Installing build

Re: Problem installing Leo under 18.04

2019-02-08 Thread Neal Becker
Nope, still no good. I did a fresh zip download, then: [nbecker@nbecker2 leo-editor]$ pip3 install --user --editable . Obtaining file:///home/nbecker/leo-editor Installing build dependencies ... done Getting requirements to build wheel ... done ... Installing collected packages: leo Running

Re: Problem installing Leo under 18.04

2019-02-08 Thread Matt Wilkie
On Thursday, 7 February 2019 22:18:51 UTC-8, Matt Wilkie wrote: > > @Matt line 13-14 of the setup.py >> import leo.core.leoGlobals as g >> import leo.core.leoVersion as leoVersion >> won't work if setup.py is executed outside of the leo-editor folder. You >> need to add leo-editor folder to

Re: Problem installing Leo under 18.04

2019-02-07 Thread Matt Wilkie
> > @Matt line 13-14 of the setup.py > import leo.core.leoGlobals as g > import leo.core.leoVersion as leoVersion > won't work if setup.py is executed outside of the leo-editor folder. You > need to add leo-editor folder to sys.path. > Thank you! It would never have occurred to me that

Re: Problem installing Leo under 18.04

2019-02-07 Thread John Kane
*YES!* The Cowardly Lion Logo has appeared! Thank you and Matt for all the time and help. In theory, with pip3 and git installed, this should work? === wget http://github.com/leo-editor/leo-editor/zipball/devel/ --output-file leo-editor-devel.zip

Re: Problem installing Leo under 18.04

2019-02-07 Thread vitalije
@Matt line 13-14 of the setup.py import leo.core.leoGlobals as g import leo.core.leoVersion as leoVersion won't work if setup.py is executed outside of the leo-editor folder. You need to add leo-editor folder to sys.path. Vitalije -- You received this message because you are subscribed to the

Re: Problem installing Leo under 18.04

2019-02-07 Thread vitalije
> > I got Leo to install after I installed* python3-pyqt5 *as Vitalije > suggested but Leo seems only willing to load in the GNOME console. > > Also I used pip rather than *pip3* > It seems like there is an error in setup.py. I hope Matt will fix that. In the meantime try running install

Re: Problem installing Leo under 18.04

2019-02-07 Thread John Kane
On Thursday, February 7, 2019 at 8:18:49 AM UTC-5, Neal Becker wrote: > > I tried also - doesn't work for me either: > > [nbecker@nbecker2 ~]$ pip3 install --editable leo-editor > Obtaining file:///home/nbecker/leo-editor > Installing build dependencies ... done > Getting requirements to

Re: Problem installing Leo under 18.04

2019-02-07 Thread John Kane
On Thursday, February 7, 2019 at 4:44:09 AM UTC-5, vitalije wrote: > > I did a *sudo apt install qt5-default *but I am getting the same error. >> > > You should install python3-pyqt5: > > sudo apt-get install python3-pyqt5 > > This should be enough for running Leo. > > HTH > Vitalije > Hi

Re: Problem installing Leo under 18.04

2019-02-07 Thread vitalije
> > I did a *sudo apt install qt5-default *but I am getting the same error. > You should install python3-pyqt5: sudo apt-get install python3-pyqt5 This should be enough for running Leo. HTH Vitalije -- You received this message because you are subscribed to the Google Groups "leo-editor"

Re: Problem installing Leo under 18.04

2019-02-06 Thread Matt Wilkie
Thanks for the details. The Leo console tkinter errors might be worth opening an issue but will need to wait for Edward to get back. At any rate it's not a problem I would pursue. Tkinter isn't used for Qt gui mode. Console mode works, but is not very much fun relative to the real thing and I

Re: Problem installing Leo under 18.04

2019-02-06 Thread John Kane
Well the *leo-console* was not happy. See code below. I installed* python-tk* as requested. No luck and a simple *leo* returns the same error as I got yesterday. No idea of what is going on at the moment. I saw the *pyqt-??* package mentioned yesterday. I will have a go at tracking it down

Re: Problem installing Leo under 18.04

2019-02-06 Thread Matt Wilkie
I'm curious: also try `*leo-console*`, which will use the ncurses console gui instead of qt. -- 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

Re: Problem installing Leo under 18.04

2019-02-06 Thread Matt Wilkie
> > *can not import Qt* *jrkrideau@john-T510:~$* > > I did a *sudo apt install qt5-default *but I am getting the same error. > Closer! It needs to be *pyqt*, though I'm not sure what the actual package name would be. matt -- You received this message because you are subscribed to the

Re: Problem installing Leo under 18.04

2019-02-06 Thread John Kane
On Wednesday, February 6, 2019 at 1:19:47 PM UTC-5, Matt Wilkie wrote: > > No go. I had already tried that based on your earlier post. > > > Hmm. I don't get it (but there's a great many things I don't get about > git. I wish something else had won the revision control developer mind >

Re: Problem installing Leo under 18.04

2019-02-06 Thread Matt Wilkie
> > No go. I had already tried that based on your earlier post. Hmm. I don't get it (but there's a great many things I don't get about git. I wish something else had won the revision control developer mind share.) Anyway a git clone isn't essential, it just makes future updates easier. Try

Re: Problem installing Leo under 18.04

2019-02-06 Thread John Kane
On Wednesday, February 6, 2019 at 6:37:49 AM UTC-5, Matt Wilkie wrote: > > Try this (`git fetch` is the new part): > > cd ~ > sudo apt install git > git clone --depth=200 https://github.com/leo-editor/leo-editor.git > cd ~/leo-editor > *git fetch* > git checkout devel > pip3 install --editable

Re: Problem installing Leo under 18.04

2019-02-06 Thread Matt Wilkie
> Try this (`git fetch` is the new part): > > cd ~ > sudo apt install git > git clone --depth=200 https://github.com/leo-editor/leo-editor.git > cd ~/leo-editor > *git fetch* > git checkout devel > pip3 install --editable ~/leo-editor > at which running `leo` in any terminal window should work.

Re: Problem installing Leo under 18.04

2019-02-06 Thread Matt Wilkie
Try this (`git fetch` is the new part): cd ~ sudo apt install git git clone --depth=200 https://github.com/leo-editor/leo-editor.git cd ~/leo-editor *git fetch* git checkout devel pip3 install --editable ~/leo-editor -- You received this message because you are subscribed to the Google Groups

Re: Problem installing Leo under 18.04

2019-02-06 Thread John Kane
On Wednesday, February 6, 2019 at 12:44:50 AM UTC-5, Matt Wilkie wrote: > > > I am having a problem with installing Leo under Ubuntu 18.04 using the >>> debian instructions at >>> http://leoeditor.com/installing.html#installing-from-a-debian-package >>>

Re: Problem installing Leo under 18.04

2019-02-05 Thread Matt Wilkie
> I am having a problem with installing Leo under Ubuntu 18.04 using the >> debian instructions at >> http://leoeditor.com/installing.html#installing-from-a-debian-package >>

Re: Problem installing Leo under 18.04

2019-02-05 Thread John Kane
On Sunday, January 20, 2019 at 12:19:28 PM UTC-5, John Kane wrote: > > I am having a problem with installing Leo under Ubuntu 18.04 using the > debian instructions at > http://leoeditor.com/installing.html#installing-from-a-debian-package > > I update my sources.list using > > deb

Re: Problem installing Leo under 18.04

2019-02-05 Thread Matt Wilkie
> > When I run the instructions you provided (above) everthing goes smoothly > untitl I run > > "git checkout devel" > > when I get the error > > jrkrideau@john-T510:~/leo-editor$ git checkout devel > error: pathspec 'devel' did not match any file(s) known to git. >

Re: Problem installing Leo under 18.04

2019-02-04 Thread John Kane
On Sunday, January 20, 2019 at 7:16:10 PM UTC-5, Matt Wilkie wrote: > > This is the recipe I use for testing each new build on Linux Mint (18.02): > > conda create -n leo-build > conda activate leo-build > conda install pip > git clone --depth=200 https://github.com/leo-editor/leo-editor.git >

Re: Problem installing Leo under 18.04

2019-01-21 Thread John Kane
*I use Leo for writing and for organizing all of my information.* *Defintely ecouraging words.* *I started with Leo a decade or so ago and have really begun to experience what it can do for me in the past couple of years.* *Grawk! * Again thanks to everyone for the help. On Mon, 21 Jan 2019

Re: Problem installing Leo under 18.04

2019-01-21 Thread Chris George
Ha. Welcome aboard. I too am not a programmer. I use Leo for writing and for organizing all of my information. Clones are great. Scripting/commands/buttons are extremely powerful and useful. The backlinks plugin provides what clones don't when it comes to interconnecting. Feel free to ask

Re: Problem installing Leo under 18.04

2019-01-21 Thread John Kane
Outlining and PIM, especially management of a lot of odds and sods of information that I have stashed in various files and a bunch of Tomboy notes. I basically am hoping that I can use it for interconnecting a lot of data. If I understood the description, the clone function alone sounds

Re: Problem installing Leo under 18.04

2019-01-20 Thread Chris George
> > Now all I have is the amazingly simple task of learning how to use it. I > shall return! Just curious as to what you plan to use it for. Chris -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop

Re: Problem installing Leo under 18.04

2019-01-20 Thread John Kane
On Sunday, January 20, 2019 at 12:19:28 PM UTC-5, John Kane wrote: > > I am having a problem with installing Leo under Ubuntu 18.04 using the > debian instructions at > http://leoeditor.com/installing.html#installing-from-a-debian-package > > I update my sources.list using > > deb

Re: Problem installing Leo under 18.04

2019-01-20 Thread John Kane
On Sunday, January 20, 2019 at 7:16:10 PM UTC-5, Matt Wilkie wrote: > > This is the recipe I use for testing each new build on Linux Mint (18.02): > > conda create -n leo-build > conda activate leo-build > conda install pip > git clone --depth=200 https://github.com/leo-editor/leo-editor.git >

Re: Problem installing Leo under 18.04

2019-01-20 Thread Matt Wilkie
> I am having a problem with installing Leo under Ubuntu 18.04 using the > debian instructions at > http://leoeditor.com/installing.html#installing-from-a-debian-package > Thanks for the problem report! I've opened https://github.com/leo-editor/leo-editor/issues/1063 to track getting this

Re: Problem installing Leo under 18.04

2019-01-20 Thread Matt Wilkie
This is the recipe I use for testing each new build on Linux Mint (18.02): conda create -n leo-build conda activate leo-build conda install pip git clone --depth=200 https://github.com/leo-editor/leo-editor.git cd leo-editor git checkout tags/5.8 pip install --editable . leo Without conda* the

Re: Problem installing Leo under 18.04

2019-01-20 Thread Chris George
Eep. At this point I usually install Anaconda. At least then you get a clean python environment to start with. I start Leo with python3 ./launchLeo.py from the leo-editor/leo directory. Did the install script for Qt give you a way to uninstall? Chris On Sun, Jan 20, 2019 at 2:49 PM John Kane

Re: Problem installing Leo under 18.04

2019-01-20 Thread John Kane
On Sunday, January 20, 2019 at 4:53:19 PM UTC-5, Chris George wrote: > > I hate QT problems. > > Try: > > sudo apt install qt5-default > > > > > On Sunday, January 20, 2019 at 1:10:48 PM UTC-8, John Kane wrote: >> >> >> >> On Sunday, January 20, 2019 at 2:46:48 PM UTC-5, Chris George wrote:

Re: Problem installing Leo under 18.04

2019-01-20 Thread Chris George
I hate QT problems. Try: sudo apt install qt5-default On Sunday, January 20, 2019 at 1:10:48 PM UTC-8, John Kane wrote: > > > > 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

Re: Problem installing Leo under 18.04

2019-01-20 Thread John Kane
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

Re: Problem installing Leo under 18.04

2019-01-20 Thread Chris George
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

Problem installing Leo under 18.04

2019-01-20 Thread John Kane
I am having a problem with installing Leo under Ubuntu 18.04 using the debian instructions at http://leoeditor.com/installing.html#installing-from-a-debian-package I update my sources.list using deb http://ppa.launchpad.net/villemvainio/ppa/ubuntu bionic beaver deb-src