On 21 August 2013 14:28, Oscar Benjamin <oscar.j.benja...@gmail.com> wrote:
> So I tried updating everything e.g.: > > $ pip install -U wheel pip setuptools > [lots omitted for brevity] Some thoughts. pip 1.3.1 predates pip's wheel support so you wouldn't have had pip install --use-wheel there. The upgrade error may have been because pip install -U pip tries to install a new pip.exe while pip.exe is in use. The error might not be too bad (pip.exe doesn't actually need to change). For safety, "python -m pip install -U pip --force-reinstall" might be worth doing. You quite probably shouldn't have upgraded setuptools like you did. It looks like you had a pre-merge version, and upgrading across the distribute merge appears to be fun (I have personally never encountered that particular flavour of fun, but that's what I'm led to believe). For safety you should check your site-packages for setuptools and distribute installations. Maybe manually remove distribute if present, and then "python -m pip install -U setuptools --force-reinstall" (don't do a combined run of pip and setuptools together, that's one of the scary failure modes IIRC). pip 1.4.1 should be able to pip uninstall a distribution installed from a wheel (but TBH, I would have expected 1.3.1 to be able to, as well. The installed data looked OK). For people watching at home, upgrading pip really isn't this scary :-) I'm just making it sound scary (a) because I don't know the precise upgrade instructions for setuptools and (b) because you need to do setuptools and pip separately, and use python -m pip on Windows to upgrade pip (neither of which are immediately obvious). Let me know how you get on. Paul
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig