Oohhh! So maybe after I upgraded Ubuntu I needed to "conda update anaconda" ?? I'll try that first and see what happens.
On Saturday, 25 July 2020 at 20:36:34 UTC-2:30 [email protected] 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 [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/ab2df605-0f97-44e3-9e44-6a60cae8d9a2n%40googlegroups.com.
