Web lists-archives.com

Re: argparse missing from libpython3.7-stdlib ?




On Fri, 22 Feb 2019 22:00:01 +0100, Michael Lange wrote:

> Hi,
> 
> On Fri, 22 Feb 2019 20:15:12 -0000 (UTC)
> Frank Miles <pedicularis@xxxxxxxx> wrote:
> 
>> It seems that the new testing/buster python3.7 lacks 'argparse'.
>> Simply trying to import this causes an error, probably due to only a
>> python2.7 version on my system.
>> 
>> I didn't see any indication of a missing library, though there is
>> apparently some kind of transition going on. Is my system missing some
>> other python library?
>> 
>> 
> according to
> https://packages.debian.org/buster/amd64/libpython3.7-minimal/filelist
> argparse should be in libpython3.7-minimal
> 
> Regards
> 
> Michael
> 
> .-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. .
> .-.
> 
> Sometimes a feeling is all we humans have to go on.
> 		-- Kirk, "A Taste of Armageddon", stardate 3193.9

Thanks, that's a good clue!

There's something messed up with my installation.  argparse is
installed per libpython3.7-minimal.  However if I simply start
python, then do a help(), it gives me a traceback.  Simpleminded
forced reinstallation of python3.7, libpython3.7 idle-python3.7 idle3 
libpython3-stdlib libpython3-minimal do not fix the problem :(

Will explore further...
  Thanks again...
     -Frank