Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90687

Re: pip grabs tar.gz file instead of whl?

References <mj4qsn$k5m$1@ger.gmane.org> <55563EBA.8080606@stoneleaf.us>
Date 2015-05-16 04:55 +1000
Subject Re: pip grabs tar.gz file instead of whl?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.45.1431716125.17265.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, May 16, 2015 at 4:45 AM, Ethan Furman <ethan@stoneleaf.us> wrote:
> On 05/15/2015 06:04 AM, Mark Lawrence wrote:
>
>> C:\Users\Mark\Documents\MyPython>pip install --no-cache-dir
>> --trusted-host http://www.lfd.uci.edu/ -U -f
>> http://www.lfd.uci.edu/~gohlke/pythonlibs/ numba
>
>>
>>
>> Collecting numba
>>    This repository located at www.lfd.uci.edu is not a trusted host, if
>> this repository is available via HTTPS it is recommend to use HTTPS
>> instead, otherwise you may silence this warning with '--trusted-host
>> www.lfd.uci.edu'.
>>    DEPRECATION: Implicitly allowing locations which are not hosted at a
>> secure origin is deprecated and will require the use of --trusted-host
>> in the future.
>>    Downloading numba-0.18.2.tar.gz (507kB)
>>      100% |################################| 507kB 373kB/s
>
>
> I particularly like how, when you specify --trusted-host, you still get all
> the warnings to use --trusted-host... not.

Actually, I suspect the note is telling you to use "--trusted-host
www.lfd.uci.edu" rather than "--trusted-host http://www.lfd.uci.edu/"
- so it's as if the option wasn't specified at all. But pip can be a
little hard to understand sometimes (just ask Prince Edward, who had
no end of trouble understanding the poor chipmonk!), so I may very
well be wrong here.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: pip grabs tar.gz file instead of whl? Chris Angelico <rosuav@gmail.com> - 2015-05-16 04:55 +1000

csiph-web