<div dir="ltr">The simplest way to do so is to add caching to pip and put the file to appropriate place in the cache.<div>You can add this to /root/.pip/pip.conf:</div><div><br></div><div>[global]</div><div>download_cache = /var/cache/pip</div>

<div><br></div><div>And then put the file to /var/cache/pip/https%3A%2F%2Fgoogledrive.com%2Fhost%2F0Bwh63zyus-UlZ1dxQ08zczVRbXc%2Fipaddr-2.1.11.tar.gz</div><div>Then add content-type file:</div><div>echo -n "application/x-gzip" > /var/cache/pip/https%3A%2F%2Fgoogledrive.com%2Fhost%2F0Bwh63zyus-UlZ1dxQ08zczVRbXc%2Fipaddr-2.1.11.tar.gz.content-type</div>

<div><br></div><div>Pip should use this file on the next run.</div><div><br></div><div>Let me know if this works for you.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 7, 2014 at 8:31 PM, Matt Wagner <span dir="ltr"><<a href="mailto:matt.wagner@redhat.com" target="_blank">matt.wagner@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Fri Feb  7 08:25:24 2014, Ilya Shakhat wrote:<br>
> Hi Doug,<br>
><br>
> I'm trying to install WSME 0.6, but today it fails due to inability to<br>
> install ipaddr dependency.<br>
><br>
> Pip output:<br>
> Downloading/unpacking ipaddr (from WSME)<br>
>   You are installing a potentially insecure and unverifiable file.<br>
> Future versions of pip will default to disallowing insecure files.<br>
>   HTTP error 403 while getting<br>
> <a href="https://googledrive.com/host/0Bwh63zyus-UlZ1dxQ08zczVRbXc/ipaddr-2.1.11.tar.gz" target="_blank">https://googledrive.com/host/0Bwh63zyus-UlZ1dxQ08zczVRbXc/ipaddr-2.1.11.tar.gz</a><br>
> (from <a href="http://code.google.com/p/ipaddr-py/" target="_blank">http://code.google.com/p/ipaddr-py/</a>)<br>
>   Could not install requirement ipaddr (from WSME) because of error<br>
> HTTP Error 403: Forbidden<br>
><br>
> ipaddr is distributed via Google Drive and it appears that the quota<br>
> on file downloading is reached: "Sorry, you can't view or download<br>
> this file at this time. Too many users have viewed or downloaded this<br>
> file recently...." message is shown if url is opened in browser.<br>
><br>
> The dependency was introduced by<br>
> commit <a href="https://github.com/stackforge/wsme/commit/f191f32a722ef0c2eaad71dd33da4e7787ac2424" target="_blank">https://github.com/stackforge/wsme/commit/f191f32a722ef0c2eaad71dd33da4e7787ac2424</a><br>
> ipaddr is used for IP validation purposes.<br>
><br>
> Can ipaddr be replaced by some other library? I suspect the validation<br>
> code should already exist at least in Neutron.<br>
<br>
</div></div>Hi Ilya,<br>
<br>
I'm tripping over the very same issue right now.<br>
<br>
I was able to obtain the file by copying it to my own Google Drive and<br>
then downloading it, as a short-term workaround. But when I manually<br>
install it, the venv installation still tries to download the Google<br>
Drive version and fails. I'm still pretty new to pip; is there a way to<br>
force it to use a different location? Is there any value in me making<br>
the version I downloaded available to people?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Matt Wagner<br>
Software Engineer, Red Hat<br>
<br>
</font></span><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><br><div>Kind regards, Yuriy.</div>
</div>