<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Yes, I know that. But unfortunately it's a legacy, so there is no way :(</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I have resolved my issue with the following line in Dockerfile</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">RUN echo "[easy_install]\n\nindex-url = <a href="https://pypi.python.org/simple/">https://pypi.python.org/simple/</a>" > ~/.pydistutils.cfg<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 30, 2017 at 3:21 PM, Marius Gedminas <span dir="ltr"><<a href="mailto:marius@gedmin.as" target="_blank">marius@gedmin.as</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Oct 28, 2017 at 12:22:32AM +0300, Alex Domoradov wrote:<br>
> I got it. And what I should do with old system? For e.g. we still use ubuntu<br>
> 12.04. Is there any way to upgrade pip/setuptools?<br>
<br>
</span>If you're using Ubuntu 12.04, then presumably you're paying Canoncial<br>
for extended support, so ask them to provide a pip/setuptools SRU.<br>
<br>
(If you're not paying Canonical, then you're not getting security<br>
updates and should upgrade ASAP.)<br>
<span class="HOEnZb"><font color="#888888"><br>
Marius Gedminas<br>
--<br>
Favorite MS-DOS error message: "Drive C: not ready, close door."<br>
</font></span><br>______________________________<wbr>_________________<br>
Distutils-SIG maillist  -  <a href="mailto:Distutils-SIG@python.org">Distutils-SIG@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/distutils-sig" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/distutils-sig</a><br>
<br></blockquote></div><br></div>