RANT why the *%#&%^ does installing pip not install setuptools???

Chris Angelico rosuav at gmail.com
Thu Jul 5 21:58:08 EDT 2018


On Fri, Jul 6, 2018 at 11:35 AM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> On Fri, 06 Jul 2018 03:47:55 +1000, Chris Angelico wrote:
>
>> What's the output of:
>>
>> $ apt-cache show python3-pip
>
> Mysteriously, the output is repeated twice, in every-so-slightly
> different formats. It's the little details like that give us confidence
> in the quality of the software...

The solution to the mystery is here:

> Package: python3-pip
> Version: 8.1.1-2ubuntu0.4
>
> Package: python3-pip
> Version: 8.1.1-2

You can see where the two packages come from with:

$ apt-cache policy python3-pip

It probably means you have multiple package sources configured; or
perhaps you have one installed currently, and you could upgrade to a
slightly updated version.

In any case, setuptools is listed in the recommends.

ChrisA



More information about the Python-list mailing list