On 25 April 2018 at 17:17, Lele Gaifax <lele@metapensiero.it> wrote:
Cosimo Lupo <cosimo@anthrotype.com> writes:
Hello Lele,
you need to upgrade with:
python -m pip install --upgrade pip
E.g. take a look at this https://github.com/ogrisel/python-appveyor-demo/pull/46
Thank you, will report to the cibuildwheel folks then.
It might be worth noting that cibuildwheel does "pip install --disable-pip-version-check --user --upgrade pip" - see https://github.com/joerick/cibuildwheel/blob/master/cibuildwheel/windows.py#... In principle this does work (i.e., it does install a correct pip.exe), but it's likely that the location of this pip.exe is not on PATH, so the system version is being picked up, and that's for an older version of pip, hence the error. So an alternative to changing the command to upgrade the system installed Python would be to ensure that the user scripts directory is at the front of PATH. But TBH, how they choose to fix the issue is up to the cibuildwheel project. I genuinely don't know which option would be best for them. Paul