python3.7 installation failing - so why?
Terry Reedy
tjreedy at udel.edu
Sat Feb 23 12:42:51 EST 2019
On 2/22/2019 10:56 PM, Chris Angelico wrote:
> On Sat, Feb 23, 2019 at 2:51 PM Frank Miles <pedicularis at mail.com> wrote:
>> Question: how can I determine what has gone wrong?
>
> Hmm. I'd start with:
>
> $ which python3
> $ dpkg -S `which python3`
>
> and from inside Python:
> >>> import sys; sys.path
Adding ', sys.executable' is often handy and works on all systems with
python.
> >>> import enum; enum.__file__
I should remember to suggest this when an import runs but the imported
module does not work right.
--
Terry Jan Reedy
More information about the Python-list
mailing list