Yes, I know that. But unfortunately it's a legacy, so there is no way :(

I have resolved my issue with the following line in Dockerfile

RUN echo "[easy_install]\n\nindex-url = https://pypi.python.org/simple/" > ~/.pydistutils.cfg

On Mon, Oct 30, 2017 at 3:21 PM, Marius Gedminas <marius@gedmin.as> wrote:
On Sat, Oct 28, 2017 at 12:22:32AM +0300, Alex Domoradov wrote:
> I got it. And what I should do with old system? For e.g. we still use ubuntu
> 12.04. Is there any way to upgrade pip/setuptools?

If you're using Ubuntu 12.04, then presumably you're paying Canoncial
for extended support, so ask them to provide a pip/setuptools SRU.

(If you're not paying Canonical, then you're not getting security
updates and should upgrade ASAP.)

Marius Gedminas
--
Favorite MS-DOS error message: "Drive C: not ready, close door."

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig