That's something nifty I didn't know. Otherwise, a segfault makes me think of something wrong (or missing) from Qt5/PyQt5.
On Tuesday, July 28, 2020 at 6:47:22 PM UTC-4, Geoff Evans wrote: > > ... and when I start a python or ipython session (not specifying python3) > the @ operator for matrix multiplication works, which I think is a python3 > innovation. > > On Tuesday, July 28, 2020, 8:06:37 p.m. NDT, GEOFFREY EVANS < > gtev...@nl.rogers.com <javascript:>> wrote: > > > I don't think so: > > (base) geoff:1532>which python > /home/geoff/anaconda3/bin/python > > and pip also comes from anaconda3 > > On Tuesday, July 28, 2020, 7:13:30 p.m. NDT, Thomas Passin < > tbp1...@gmail.com <javascript:>> wrote: > > > 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 a topic in the > Google Groups "leo-editor" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/leo-editor/Y6KRkP5wi2o/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > leo-e...@googlegroups.com <javascript:>. > To view this discussion on the web visit > > https://groups.google.com/d/msgid/leo-editor/79013a05-bb14-4f38-ae24-cec8d8c222f2o%40googlegroups.com > > <https://groups.google.com/d/msgid/leo-editor/79013a05-bb14-4f38-ae24-cec8d8c222f2o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- > You received this message because you are subscribed to a topic in the > Google Groups "leo-editor" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/leo-editor/Y6KRkP5wi2o/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > leo-e...@googlegroups.com <javascript:>. > To view this discussion on the web visit > > https://groups.google.com/d/msgid/leo-editor/905817269.6064043.1595975790907%40mail.yahoo.com > > <https://groups.google.com/d/msgid/leo-editor/905817269.6064043.1595975790907%40mail.yahoo.com?utm_medium=email&utm_source=footer> > . > -- 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/7da0d952-6b06-40eb-9a4f-42533067fa24o%40googlegroups.com.