[Tutor] pip stopped working gives error

Mats Wichmann mats at wichmann.us
Thu May 3 16:48:19 EDT 2018


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
$


More information about the Tutor mailing list