Re: Learning why module will not load

2020-12-29 Thread Rich Shepard
On Tue, 29 Dec 2020, Barry wrote: I do this to to debug odd import issues: $ python3.9 -v ... import six The output will show the attempts python makes to find the six module. Barry, Thank you. It's not finding six and I am rebuilding all python3 packages since almost none were build using

Re: Learning why module will not load

2020-12-29 Thread Barry
> On 29 Dec 2020, at 18:14, Rich Shepard wrote: > > Running Slackware-14.2/x86_64 and python-3.9.1. Installed are > six-1.14.0-x86_64-1_SBo and python3-six-1.13.0-x86_64-1_SBo (I don't know if > the latter is required because six is supposed to be available for python2 > and python3.) > > How

Re: Learning why module will not load

2020-12-29 Thread Rich Shepard
On Tue, 29 Dec 2020, Terry Reedy wrote: Packages have to be installed for a particular Python binary in order for that binary to import the package. Terry, I forgot about this as I don't often upgrade Python. Those packages apparently are not installed for that 3.9.1 binary. This will be

Re: Learning why module will not load

2020-12-29 Thread Terry Reedy
On 12/29/2020 1:11 PM, Rich Shepard wrote: Running Slackware-14.2/x86_64 and python-3.9.1. Installed are six-1.14.0-x86_64-1_SBo and python3-six-1.13.0-x86_64-1_SBo (I don't know if the latter is required because six is supposed to be available for python2 and python3.) Packages have to be in

Learning why module will not load

2020-12-29 Thread Rich Shepard
Running Slackware-14.2/x86_64 and python-3.9.1. Installed are six-1.14.0-x86_64-1_SBo and python3-six-1.13.0-x86_64-1_SBo (I don't know if the latter is required because six is supposed to be available for python2 and python3.) However, python3 doesn't find either one: $ python3 Python 3.9.1 (de