just started

Matt Wheeler m at funkyhat.org
Mon Dec 19 10:00:00 EST 2016


On Mon, 19 Dec 2016 at 13:20 <metal.suomi at gmail.com> wrote:

> thanks! very clarifying. One more question though: after installing
> python3.5 I only have pip3 and pip3.5 from the command line. However, I
> issued the command
>
> python3.5 -m pip install matplotlib
>
> and it all went like a charm. At the end of the install, it said "You are
> using pip version 8.1.1, however version 9.0.1 is available. You should
> consider upgrading via the 'pip install --upgrade pip' command"
>

I think this is a minor bug in pip. It should probably suggest running pip
in the same way that it was called.


> However, the command
> pip install --upgrade pip' command
> doesn't work. So, it seems like pip is not installed. which pip3.5 tells me
> /Library/Frameworks/Python.framework/Versions/3.5/bin/pip3.5
>
> so I'm confused. I have only pip3.5 and the command python3.5 -m pip
> install .... automatically translates into pip3.5 ?
>

Actually it's the other way around. The `pip3.5` (and `pip3`) commands both
map to (effectively) `python3.5 -m pip`. You can see this if you run `cat
$(which pip3)`.
-- 

--
Matt Wheeler
http://funkyh.at



More information about the Python-list mailing list