How to get setuptools and easy_install?

Solution 1:

For linux versions(ubuntu/linux mint), you can always type this in the command prompt:

sudo apt-get install python-setuptools

This will automatically install easy_install.

Solution 2:

For python3 on Ubuntu

 sudo apt-get install python3-setuptools