On Mon, Sep 14, 2020 at 12:12 PM Israel Hands <[email protected]> wrote:
> I have 2.7 and 3.7 installed but I can't get Leo to run under Python 3. Heh. I'm having trouble installing python3 and qt on MacOS Catalina. Whenever you get a weird error, it's good to develop the habit of googling it. Googling "module 'enum' has no attribute 'IntFlag'" should help. The first hit <https://answers.ros.org/question/347177/attributeerror-module-enum-has-no-attribute-intflag/> might be all you need. HTH. Edward If I type python3 at the command line it fires up. If I type python3 > launch.leo I get ...(see below) > I changed the first line of launchleo.py to > #!/usr/bin/env python3 > > But that didn't help! Ta like IH > > Error in sitecustomize; set PYTHONVERBOSE for traceback: > > AttributeError: module 'enum' has no attribute 'IntFlag' > > Traceback (most recent call last): > > File "launchleo.py", line 7, in <module> > > import leo.core.runLeo > > File "/Applications/leo-editor-git/leo-editor/leo/core/runLeo.py", line > 24, in <module> > > import leo.core.leoGlobals as leoGlobals > > File "/Applications/leo-editor-git/leo-editor/leo/core/leoGlobals.py", > line 49, in <module> > > import gettext > > File > "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/gettext.py", > line 49, in <module> > > import locale > > File > "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/locale.py", > line 16, in <module> > > import re > > File > "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/re.py", > line 143, in <module> > > class RegexFlag(enum.IntFlag): > > AttributeError: module 'enum' has no attribute 'IntFlag' > > -- > 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/49050b66-9c3a-4b41-bdc1-6cc7db219a0en%40googlegroups.com > <https://groups.google.com/d/msgid/leo-editor/49050b66-9c3a-4b41-bdc1-6cc7db219a0en%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- ----------------------------------------------------------------- Edward K. Ream: [email protected] An old man, crazy about computer programming. Leo Editor: http://leoeditor.com/ ----------------------------------------------------------------- -- 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/CAMF8tS3_Dn2XUryQn9sNVwBcG6TtU2MJWjGkkq7LNK-7CemjaA%40mail.gmail.com.
