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:
>>>
>>> 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.
>>
>>  
>>
>
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
>
>  Nope, same error message. You say you hate QT problems. I've lived in 
fear for years at the prospect of having to install it.
I, assume anyway, that I installed Python3.7.x this morning and purged 
Python2.7 but now I see I get this:
john@john-T510:~$ python --version
Python 2.7.15rc1
john@john-T510:~$

Currently my /etc file has folders labeled python, python2.7, python3, 
python3.6, python7. All execute.
Somewhat strangely, at least to my unsophisticated mind , /usr/include/ 
does not have "python" or "python7"

How the blazes I got all that in there I don't know but I am not exactly a 
Linux expert. Rank amateur is a better term.

Have I got enough Python crap in there that Qt is getting totally confused?


Thanks for all the help





> 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 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.

Reply via email to