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


Groups > linux.debian.user > #205682

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

From songbird <songbird@anthive.com>
Newsgroups linux.debian.user
Subject Re: python3.7 disfunctional (was: argparse missing from libpython3.7-stdlib ?) NOW SOLVED
Date 2019-02-23 13:10 +0100
Message-ID <xuEhY-7yF-7@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> <xuuiB-1sB-3@gated-at.bofh.it> <xuyFz-4hh-9@gated-at.bofh.it>
Organization the little wild kingdom

Show all headers | View raw


Frank Miles wrote:
...
> I posted a similar query on the python newsgroup - and Chris Angelico 
> provided a good diagnostic method and correctly speculated about the
> source of the problem.
>
> What had happened some time ago was I'd introduced a python3 enum system,
> which happened to reside at /usr/local/python3.7/dist-packages.  This was
> earlier in the path than the proper enum module, so got imported rather
> than the one in /usr/lib/python3.7/ .  Renaming things to get it out of
> the way has restored the proper import, allowing python3 to work normally.

  i'm glad that worked out, because my Debian Testing
system Python3 is working as expected so i would have
suggested clearing all local caches and any modules
you've installed.

  and if you are making such changes in the future it
really helps to isolate your working and local system
from the base Debian packages by using an environment.
that way you can wipe it and go back to base system
modules quickly if there are issues.


  songbird  (a python newbie

Back to linux.debian.user | Previous | Next — Previous 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