[Python-modules-team] Bug#949733: python-pip: 'pip install' don't work for python2 in Debian10
Robin Gustafsson
robin at rgson.se
Mon Feb 24 15:27:42 GMT 2020
Hi,
I've seen this before and I'm fairly sure that it's an issue from the
system version of pip interacting badly with a pip-installed version
of pip. However, I also cannot reproduce it now.
It has been discussed upstream [1] and a compatibility layer has been
added to avoid it [2][3]. That may explain why it is seemingly
unreproducible now.
Instead of the error, I'm now receiving this when running a newer
pip-installed version through the system-installed version:
WARNING: pip is being invoked by an old script wrapper. This will
fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on
fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead
of running pip directly.
All in all, I think the error in this bug is likely not caused by the
packaged version itself. The wrapper should probably be changed at
some point, though.
[1] https://github.com/pypa/pip/issues/5599
[2] https://github.com/pypa/pip/issues/7498
[3] https://github.com/pypa/pip/commit/3f4bb75
Regards,
Robin
More information about the Python-modules-team
mailing list