[Distutils] RFH with a problem with pip 10 on Windows (AppVeyor)
Cosimo Lupo
cosimo at anthrotype.com
Wed Apr 25 11:33:34 EDT 2018
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
On Wed, Apr 25, 2018 at 4:25 PM Lele Gaifax <lele at metapensiero.it> wrote:
> Hi,
>
> since some time, the CI job on AppVeyor for a package I maintain fails in a
> way I was not able to reproduce in my local demo Win7 VM.
>
> This is a link to the error:
>
> https://ci.appveyor.com/project/lelit/python-rapidjson/build/1.0.184#L66
>
> and as you can see, it happens when cibuildwheel tries to install the
> "wheel"
> package, and the following happens:
>
> + pip install wheel
> Using default MSVC build environment for 32 bit architecture
> Executing: pip install wheel
> Traceback (most recent call last):
> File "c:\python34\lib\runpy.py", line 170, in _run_module_as_main
> "__main__", mod_spec)
> File "c:\python34\lib\runpy.py", line 85, in _run_code
> exec(code, run_globals)
> File "C:\Python34\Scripts\pip.exe\__main__.py", line 5, in <module>
> ImportError: cannot import name 'main'
>
> The problem may be related to something different in version 10 of pip, but
> that's just a guess: as always, on Windows there are no certainties :-)
>
> It used to work as expected, this is a link to latest successful run:
>
>
> https://ci.appveyor.com/project/lelit/python-rapidjson/build/1.0.181?fullLog=true#L63
>
> and since then the only (apparent) difference is the pip version...
>
> Can anybody understand what's going on?
>
> Thanks in advance,
> ciao, lele.
> --
> nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
> real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
> lele at metapensiero.it | -- Fortunato Depero, 1929.
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
--
Cosimo Lupo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20180425/bc98e963/attachment.html>
More information about the Distutils-SIG
mailing list