I wonder if you are running python 2.7 (or pip for python 2.7).  On my 
system, I have to run pip3 and python3 to get the 3.x versions instead of 
the 2.7 version.  Leo 6.x versions require Python 3.x (I think), and if you 
tried to run Leo with Python 2.7, you might get that kind of problem.

On Tuesday, July 28, 2020 at 3:44:28 PM UTC-4, Geoff Evans wrote:
>
> < pip install leo >   appeared to work (once I banished all the 5.9 stuff 
> to a directory outside anaconda), but when I tried to run leo:
>
> (base) geoff:1520>leo mbr.leo
>
> setting leoID from os.getenv('USER'): 'geoff'
> Leo 6.2.1 final
> Segmentation fault (core dumped)
>
> But at least the complaint about meta went away ;-)
> On Saturday, 25 July 2020 at 20:36:34 UTC-2:30 tbp1...@gmail.com wrote:
>
>> I assumed from one of your sentences that somehow it had been provided by 
>> apt.  Probably not - I'd just been thinking that apt upgraded Python, 
>> really..  As I just found out, a system upgrade can require a whole new 
>> installation of Leo using pip/pip3, which brings in new versions of all 
>> Leo's dependencies.
>>
>>
>> On Saturday, July 25, 2020 at 4:17:25 PM UTC-4, Geoff Evans wrote:
>>>
>>> Thanks, I'll try that when I'm better able to concentrate if things 
>>> start going wrong.
>>> One puzzle, though: you refer to the Ubuntu package manager providing 
>>> it: I didn't think leo was part of the Ubuntu distribution.
>>> (What I'd really love is if it was part of the Anaconda distribution :-)
>>>
>>> geoff
>>>
>>> On Saturday, 25 July 2020 at 11:24:36 UTC-2:30 tbp1...@gmail.com wrote:
>>>
>>>> v5.9 is very old by now.  I'm surprised that the Ubuntu package manager 
>>>> is still providing it.  The chances of troubleshooting this package are 
>>>> probably small at this point.
>>>>
>>>> I'd suggest installing the current version of Leo directly using pip.  
>>>> Make sure that you have python 3.6+ on your system.  You may have to use 
>>>> apt-get to get pip installed - some distros don't include it with Python, 
>>>> some do, and I don't remember about Ubuntu.  It may need to be called pip3 
>>>> to make sure it's the one for Python 3.x. Then install Leo:
>>>>
>>>> pip3 install leo  # pip3 instead of pip should make sure you are using 
>>>> the Python 3.x version instead of the Python 2.7 version.
>>>>
>>>> Or to see which versions are available:
>>>>
>>>> pip3 install leo==
>>>>
>>>> On some systems you might need to use sudo:
>>>>
>>>> sudo pip3 install leo
>>>>
>>>> Or, if the system isn't finding the correct version of pip:
>>>>
>>>> python3 -m pip install leo        # python3 will launch the available 
>>>> version of pip for Python 3.x
>>>>
>>>> As of today, the latest version of Leo available this way is 6.2.1.
>>>>
>>>> On Saturday, July 25, 2020 at 9:30:30 AM UTC-4, Geoff Evans wrote:
>>>>>
>>>>> When I try to run leo now (in Ubuntu 18.04) I get:
>>>>>
>>>>> (base) geoff:1427>leo ogmap.leo
>>>>>
>>>>> setting leoID from os.getenv('USER'): 'geoff'
>>>>> Leo 5.9-b2, build 20190409061733, Tue Apr  9 06:17:32 UTC 2019
>>>>> livecode.py: can not import meta
>>>>> pip install meta
>>>>> Segmentation fault (core dumped)
>>>>>
>>>>> It used to work fine; all I can think of that's changed is that I've 
>>>>> done "apt-get update/upgrade": cuold that have broken a prerequisite?
>>>>>
>>>>> Best,   geoff
>>>>>
>>>>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/79013a05-bb14-4f38-ae24-cec8d8c222f2o%40googlegroups.com.

Reply via email to