[Tutor] pip stopped working gives error
Jim
jf_byrnes at comcast.net
Fri May 4 22:47:29 EDT 2018
On 05/03/2018 03:48 PM, Mats Wichmann wrote:
> On 05/03/2018 02:27 PM, Jim wrote:
>
>>> I heard distutils may have been split out... see if you have a package
>>> python3-distutils and if not installed, can you install it?
>>
>> I have:
>>
>> //usr/lib/python3.5/distutils
>> and
>> //usr/lib/python3.6/distutils, but no python3-distutils.
>>
>> Checking in Synaptic there is no python3-distutils but there is a
>> python3-distutils-extra.
>
> it was a guess... this change seems to have just happened in Ubuntu
> (bionic/18.04 only), perhaps that's not the thing affecting you in Mint
> (yet).
>
> $ dpkg -l python3-distutils
> Desired=Unknown/Install/Remove/Purge/Hold
> |
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version
> Architecture Description
> +++-====================================-=======================-=======================-=============================================================================
> ii python3-distutils 3.6.5-3 all
> distutils package for Python 3.x
> $ dpkg -L python3 | grep sysconfig
> $ dpkg -L python3-distutils | grep sysconfig
> /usr/lib/python3.6/distutils/sysconfig.py
> /usr/lib/python3.7/distutils/sysconfig.py
> $
I don't know if I missed it or a late update pulled it in but I just did
sudo apt install python3-distutils and now my problem is fixed.
Thanks to you and Zachary for helping me out.
Regards, Jim
More information about the Tutor
mailing list