[Distutils] PyPI download issues from Rackspace Cloud
holger krekel
holger at merlinux.eu
Mon Dec 9 13:39:09 CET 2013
On Mon, Nov 25, 2013 at 08:48 +0200, Marius Gedminas wrote:
> On Sat, Nov 23, 2013 at 08:59:35AM -0500, Donald Stufft wrote:
> > Can you try with 1.5rc1?
>
> This was trickier than I thought, because pip appears to be incapable of
> upgrading itself on Windows:
>
> $ git clone https://github.com/pypa/pip
> $ virtualenv env
> $ env/scripts/pip install -U ./pip
> WindowsError: [Error 5] Access is denied: 'c:\\users\\mg\\...\\scripts\\pip.exe'
>
> but the advice in https://github.com/pypa/pip/issues/1299 helped:
>
> $ env/scripts/python -m pip -U ./pip
>
> > We switched to requests in that version and perhaps it side steps the issue?
>
> Looks like. 10 out of 10 successful downloads with pip git master using:
>
> $ unset PIP_DOWNLOAD_CACHE
> $ rm -f virtualenv-1.10.1.tar.gz && env/scripts/pip install -d . virtualenv
>
> As a control, I tested again with pip 1.4.1, and 2 out of 4 downloads
> failed with a bad hash error.
>
> Interesting.
Thanks for the notes, Marius. I also got md5 checksumming issues with
pip-1.4.1 on a windows machine in the rackspace cloud. Alas, i cannot
easily force a different pip version because pip is installed from
an automation script which comes from somewhere else :(
best,
holger
More information about the Distutils-SIG
mailing list