pip grabs tar.gz file instead of whl?
Chris Angelico
rosuav at gmail.com
Fri May 15 14:55:07 EDT 2015
On Sat, May 16, 2015 at 4:45 AM, Ethan Furman <ethan at 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
More information about the Python-list
mailing list