On Fri, Feb 22, 2019 at 7:27 PM Frank Miles <[email protected]> wrote:
> I just upgraded my desktop from stable/stretch to testing/buster. > I'd earlier done the same to a laptop without any problems. > On the desktop, I get the following strange traceback : > > $ python3 > Python 3.7.2+ (default, Feb 2 2019, 14:31:48) > [GCC 8.2.0] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> help() > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/usr/lib/python3.7/_sitebuiltins.py", line 102, in __call__ > import pydoc > File "/usr/lib/python3.7/pydoc.py", line 66, in <module> > import inspect > File "/usr/lib/python3.7/inspect.py", line 40, in <module> > import linecache > File "/usr/lib/python3.7/linecache.py", line 11, in <module> > import tokenize > File "/usr/lib/python3.7/tokenize.py", line 33, in <module> > import re > File "/usr/lib/python3.7/re.py", line 143, in <module> > class RegexFlag(enum.IntFlag): > AttributeError: module 'enum' has no attribute 'IntFlag' > >>> > > I've tried reinstalling python3.7 and its library packages > without effect. > > Any hints on how I might find what's causing this pathological > behavior? TIA! > -Frank > > Don't have a solution for you, just a data point: kent@westk-9463:~$ python3 Python 3.7.2+ (default, Feb 2 2019, 14:31:48) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> help() Welcome to Python 3.7's help utility! If this is your first time using Python, you should definitely check out the tutorial on the Internet at https://docs.python.org/3.7/tutorial/. Enter the name of any module, keyword, or topic to get help on writing Python programs and using Python modules. To quit this help utility and return to the interpreter, just type "quit". To get a list of available modules, keywords, symbols, or topics, type "modules", "keywords", "symbols", or "topics". Each module also comes with a one-line summary of what it does; to list the modules whose name or summary contain a given string such as "spam", type "modules spam". help> -- Kent West <")))>< Westing Peacefully - http://kentwest.blogspot.com

