I have 2.7 and 3.7 installed but I can't get Leo to run under Python 3. 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.