0 votes
1 view
in Python by (15k points)

I want to install pip. It should support Python 3, but it requires setup tools, which is available only for Python 2.

How can I install pip with Python 3?

1 Answer

0 votes
by (33.8k points)

If you're using Python 2.7.9+ or Python 3.4+ then you no need to worry about pip because these versions already have pip install with them.

For Unix System, the step for installing pip is as follows:-

In the Unix system, we have a package manager that easily installs the package for pip. If you are using an older version of Python, or if your system did not include package manager for any reason.

Some instructions for installing pip is as follows:-

You can install it on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) for Python 2.x.

You need to run the following command from a terminal:

sudo apt-get install python-pip

To install pip for Python 3.x on Debian (Wheezy and newer) and Ubuntu (Trusty Tahr and newer) you can run the following command from a terminal:-

sudo apt-get install python3-pip

To know more how to install Python and pip you can visit this link as well:-

https://intellipaat.com/tutorial/python-tutorial/how-to-download-and-install-python/

...