How to install pip for python2 and pip3 for python3 in Ubuntu Docker?

67 Views Asked by At

How can I install pip for python2 and pip3 for python3. So that when I run pip --version it should show pip 18.1 from /usr/lib/python2.7/dist-packages/pip (python 2.7) and when I run pip3 --version, it should show pip 18.1 from /usr/lib/python3/dist-packages/pip (python 3.7).

0

There are 0 best solutions below