Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #205674

python3.7 disfunctional (was: argparse missing from libpython3.7-stdlib ?)

From Frank Miles <pedicularis@mail.com>
Newsgroups linux.debian.user
Subject python3.7 disfunctional (was: argparse missing from libpython3.7-stdlib ?)
Date 2019-02-23 02:30 +0100
Message-ID <xuuiB-1sB-3@gated-at.bofh.it> (permalink)
References <xupLX-7bh-1@gated-at.bofh.it> <xuq5j-7hF-9@gated-at.bofh.it> <xurup-8f6-7@gated-at.bofh.it>
Organization A noiseless patient Spider

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

argparse missing from libpython3.7-stdlib ? Frank Miles <pedicularis@mail.com> - 2019-02-22 21:40 +0100
  Re: argparse missing from libpython3.7-stdlib ? Michael Lange <klappnase@freenet.de> - 2019-02-22 22:00 +0100
    Re: argparse missing from libpython3.7-stdlib ? Frank Miles <pedicularis@mail.com> - 2019-02-22 23:30 +0100
      python3.7 disfunctional (was: argparse missing from  libpython3.7-stdlib ?) Frank Miles <pedicularis@mail.com> - 2019-02-23 02:30 +0100
        Re: python3.7 disfunctional (was: argparse missing from  libpython3.7-stdlib ?) Kent West <westk@acu.edu> - 2019-02-23 03:20 +0100
        Re: python3.7 disfunctional (was: argparse missing from   libpython3.7-stdlib ?) NOW SOLVED Frank Miles <pedicularis@mail.com> - 2019-02-23 07:10 +0100
          Re: python3.7 disfunctional (was: argparse missing from   libpython3.7-stdlib ?) NOW SOLVED songbird <songbird@anthive.com> - 2019-02-23 13:10 +0100

csiph-web